Class ConfigurationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.apache.commons.configuration2.ex.ConfigurationException
- All Implemented Interfaces:
Serializable
Any exception that occurs while initializing a Configuration object.
- See Also:
-
Constructor Summary
ConstructorDescriptionConstructs 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 java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, 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 detail message and nestedThrowable
.- Parameters:
message
- the error messagecause
- the exception or error that caused this exception to be thrown
-
ConfigurationException
Constructs a newConfigurationException
with specified nestedThrowable
.- Parameters:
cause
- the exception or error that caused this exception to be thrown
-