Apache CXF API

org.apache.cxf.tools.common
Class ToolException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.apache.cxf.tools.common.ToolException
All Implemented Interfaces:
Serializable

public class ToolException
extends RuntimeException

Exception used for unrecoverable error in a CXF tool.

See Also:
Serialized Form

Constructor Summary
ToolException()
           
ToolException(Message msg)
           
ToolException(Message msg, Throwable t)
           
ToolException(String msg)
           
ToolException(String message, List<org.apache.cxf.tools.common.ToolErrorListener.ErrorInfo> e)
           
ToolException(String messageId, Logger logger)
          Construct message from message property bundle and logger.
ToolException(String messageId, Logger logger, Object... args)
           
ToolException(String msg, Throwable t)
           
ToolException(Throwable t)
           
 
Method Summary
 void printStackTrace(PrintStream ps)
           
 void printStackTrace(PrintStream ps, String pfx, String cap)
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ToolException

public ToolException()

ToolException

public ToolException(String message,
                     List<org.apache.cxf.tools.common.ToolErrorListener.ErrorInfo> e)

ToolException

public ToolException(Message msg)

ToolException

public ToolException(String msg)

ToolException

public ToolException(Message msg,
                     Throwable t)

ToolException

public ToolException(String msg,
                     Throwable t)

ToolException

public ToolException(Throwable t)

ToolException

public ToolException(String messageId,
                     Logger logger)
Construct message from message property bundle and logger.

Parameters:
messageId -
logger -

ToolException

public ToolException(String messageId,
                     Logger logger,
                     Object... args)
Method Detail

printStackTrace

public void printStackTrace(PrintStream ps)
Overrides:
printStackTrace in class Throwable

printStackTrace

public void printStackTrace(PrintStream ps,
                            String pfx,
                            String cap)

Apache CXF API

Apache CXF