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:
java.io.Serializable
,org.apache.commons.lang.exception.Nestable
public class ConfigurationException extends org.apache.commons.lang.exception.NestableException
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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ConfigurationException()
Constructs a newConfigurationException
without specified detail message.ConfigurationException(java.lang.String message)
Constructs a newConfigurationException
with specified detail message.ConfigurationException(java.lang.String message, java.lang.Throwable cause)
Constructs a newConfigurationException
with specified detail message and nestedThrowable
.ConfigurationException(java.lang.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
-
-
-
-
Constructor Detail
-
ConfigurationException
public ConfigurationException()
Constructs a newConfigurationException
without specified detail message.
-
ConfigurationException
public ConfigurationException(java.lang.String message)
Constructs a newConfigurationException
with specified detail message.- Parameters:
message
- the error message
-
ConfigurationException
public ConfigurationException(java.lang.Throwable cause)
Constructs a newConfigurationException
with specified nestedThrowable
.- Parameters:
cause
- the exception or error that caused this exception to be thrown
-
ConfigurationException
public ConfigurationException(java.lang.String message, java.lang.Throwable cause)
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
-
-