Package org.apache.commons.configuration
Class ConfigurationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.apache.commons.lang.exception.NestableException
org.apache.commons.configuration.ConfigurationException
- All Implemented Interfaces:
Serializable
,org.apache.commons.lang.exception.Nestable
Any exception that occurs while initializing a Configuration
object.
- Version:
- $Id: ConfigurationException.java 1208784 2011-11-30 21:13:18Z oheger $
- Author:
- Eric Pugh
- See Also:
-
Field Summary
Fields inherited from class org.apache.commons.lang.exception.NestableException
delegate
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs a newConfigurationException
without specified detail message.ConfigurationException
(String message) Constructs a newConfigurationException
with specified detail message.ConfigurationException
(String message, Throwable cause) Constructs a newConfigurationException
with specified detail message and nestedThrowable
.ConfigurationException
(Throwable cause) Constructs a newConfigurationException
with specified nestedThrowable
. -
Method Summary
Methods inherited from class org.apache.commons.lang.exception.NestableException
getCause, getMessage, getMessage, getMessages, getThrowable, getThrowableCount, getThrowables, indexOfThrowable, indexOfThrowable, printPartialStackTrace, printStackTrace, printStackTrace, printStackTrace
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getLocalizedMessage, getStackTrace, getSuppressed, initCause, setStackTrace, toString
-
Constructor Details
-
ConfigurationException
public ConfigurationException()Constructs a newConfigurationException
without specified detail message. -
ConfigurationException
Constructs a newConfigurationException
with specified detail message.- Parameters:
message
- the error message
-
ConfigurationException
Constructs a newConfigurationException
with specified nestedThrowable
.- Parameters:
cause
- the exception or error that caused this exception to be thrown
-
ConfigurationException
Constructs a newConfigurationException
with specified detail message and nestedThrowable
.- Parameters:
message
- the error messagecause
- the exception or error that caused this exception to be thrown
-