public class ConfigurationException
extends java.io.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(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.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Exception |
getContainedException()
Get any contained exception.
|
java.lang.String |
toString()
Stringify, including stack trace.
|
protected static boolean copyStackByDefault
protected static org.apache.commons.logging.Log log
Log
used by this class for logging all messages.public ConfigurationException(java.lang.String message)
message
- String form of the errorpublic ConfigurationException(java.lang.Exception exception)
exception
- original exception which was unexpectedpublic ConfigurationException(java.lang.Exception exception, boolean copyStack)
exception
- original exception which was unexpectedcopyStack
- set to true to copy the orginal exception's stackpublic java.lang.String toString()
toString
in class java.lang.Throwable
String
view of this objectpublic java.lang.Exception getContainedException()
Copyright © 2005 Apache Web Services Project. All Rights Reserved.