Class ConfigurationException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.apache.commons.configuration2.ex.ConfigurationException
-
- All Implemented Interfaces:
Serializable
public class ConfigurationException extends Exception
Any exception that occurs while initializing a Configuration object.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ConfigurationException()
Constructs 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 Detail
-
ConfigurationException
public ConfigurationException()
Constructs a newConfigurationException
without specified detail message.
-
ConfigurationException
public ConfigurationException(String message)
Constructs a newConfigurationException
with specified detail message.- Parameters:
message
- the error message
-
ConfigurationException
public ConfigurationException(Throwable cause)
Constructs a newConfigurationException
with specified nestedThrowable
.- Parameters:
cause
- the exception or error that caused this exception to be thrown
-
ConfigurationException
public ConfigurationException(String message, 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
-
-