Class ConfigurationException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.apache.commons.configuration2.ex.ConfigurationException
-
- All Implemented Interfaces:
java.io.Serializable
public class ConfigurationException extends java.lang.Exception
Any exception that occurs while initializing a Configuration object.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private static long
serialVersionUID
The serial version ID.
-
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
.
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
The serial version ID.- See Also:
- Constant Field Values
-
-
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.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
-
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
-
-