org.jboss.axis
Class ConfigurationException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.io.IOException
              extended byorg.jboss.axis.ConfigurationException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
WSDDException (src)

public class ConfigurationException
extends java.io.IOException

ConfigurationException is thrown when an error occurs trying to use an EngineConfiguration.

See Also:
Serialized Form

Field Summary
protected static boolean copyStackByDefault
          Copy the orginal exception by default
 
Constructor Summary
ConfigurationException(java.lang.Exception exception)
          Construct a ConfigurationException from an Exception.
ConfigurationException(java.lang.Exception exception, boolean copyStack)
          Construct a ConfigurationException from an Exception.
ConfigurationException(java.lang.String message)
          Construct a ConfigurationException from a String.
 
Method Summary
 java.lang.Exception getContainedException()
          get any contained exception
 java.lang.String toString()
          stringify, including stack trace.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

copyStackByDefault

protected static boolean copyStackByDefault
Copy the orginal exception by default

Constructor Detail

ConfigurationException

public ConfigurationException(java.lang.String message)
Construct a ConfigurationException from a String. The string is wrapped in an exception, enabling a stack traceback to be obtained.

Parameters:
message - String form of the error

ConfigurationException

public ConfigurationException(java.lang.Exception exception)
Construct a ConfigurationException from an Exception.

Parameters:
exception - original exception which was unexpected

ConfigurationException

public ConfigurationException(java.lang.Exception exception,
                              boolean copyStack)
Construct a ConfigurationException from an Exception.

Parameters:
exception - original exception which was unexpected
copyStack - set to true to copy the orginal exception's stack
Method Detail

toString

public java.lang.String toString()
stringify, including stack trace.

Returns:

getContainedException

public java.lang.Exception getContainedException()
get any contained exception

Returns:
base exception or null
Since:
axis1.1