Package org.apache.axis
Class ConfigurationException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.io.IOException
-
- org.apache.axis.ConfigurationException
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
WSDDException
public class ConfigurationException extends java.io.IOException
ConfigurationException is thrown when an error occurs trying to use an EngineConfiguration.- Author:
- Glyn Normington (glyn@apache.org)
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected static boolean
copyStackByDefault
Flag wether to copy the orginal exception by default.protected static org.apache.commons.logging.Log
log
TheLog
used by this class for logging all messages.
-
Constructor Summary
Constructors Constructor Description 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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Exception
getContainedException()
Get any contained exception.java.lang.String
toString()
Stringify, including stack trace.
-
-
-
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 unexpectedcopyStack
- set to true to copy the orginal exception's stack
-
-
Method Detail
-
toString
public java.lang.String toString()
Stringify, including stack trace.- Overrides:
toString
in classjava.lang.Throwable
- Returns:
- a
String
view of this object
-
getContainedException
public java.lang.Exception getContainedException()
Get any contained exception.- Returns:
- base exception or null
- Since:
- axis1.1
-
-