public class ConfigurationException extends IOException
Modifier and Type | Field and Description |
---|---|
protected static boolean |
copyStackByDefault
Flag wether to copy the orginal exception by default.
|
protected static org.apache.commons.logging.Log |
log
The
Log used by this class for logging all messages. |
Constructor and Description |
---|
ConfigurationException(Exception exception)
Construct a ConfigurationException from an Exception.
|
ConfigurationException(Exception exception,
boolean copyStack)
Construct a ConfigurationException from an Exception.
|
ConfigurationException(String message)
Construct a ConfigurationException from a String.
|
Modifier and Type | Method and Description |
---|---|
Exception |
getContainedException()
Get any contained exception.
|
String |
toString()
Stringify, including stack trace.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
protected static boolean copyStackByDefault
protected static org.apache.commons.logging.Log log
Log
used by this class for logging all messages.public ConfigurationException(String message)
message
- String form of the errorpublic ConfigurationException(Exception exception)
exception
- original exception which was unexpectedpublic ConfigurationException(Exception exception, boolean copyStack)
exception
- original exception which was unexpectedcopyStack
- set to true to copy the orginal exception's stackCopyright © The Apache Software Foundation. All Rights Reserved.