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.ExceptionAny exception that occurs while initializing a Configuration object.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ConfigurationException()Constructs a newConfigurationExceptionwithout specified detail message.ConfigurationException(java.lang.String message)Constructs a newConfigurationExceptionwith specified detail message.ConfigurationException(java.lang.String format, java.lang.Object... params)Constructs a newConfigurationExceptionwith specified detail message.ConfigurationException(java.lang.String message, java.lang.Throwable cause)Constructs a newConfigurationExceptionwith specified detail message and nestedThrowable.ConfigurationException(java.lang.Throwable cause)Constructs a newConfigurationExceptionwith specified nestedThrowable.ConfigurationException(java.lang.Throwable cause, java.lang.String format, java.lang.Object... params)Constructs a newConfigurationExceptionwith specified detail message.
-
-
-
Constructor Detail
-
ConfigurationException
public ConfigurationException()
Constructs a newConfigurationExceptionwithout specified detail message.
-
ConfigurationException
public ConfigurationException(java.lang.String message)
Constructs a newConfigurationExceptionwith specified detail message.- Parameters:
message- the error message
-
ConfigurationException
public ConfigurationException(java.lang.String format, java.lang.Object... params)Constructs a newConfigurationExceptionwith specified detail message.- Parameters:
format- the error message for forString.format(String, Object...).params- the error parameters for forString.format(String, Object...).- Since:
- 2.14.0
-
ConfigurationException
public ConfigurationException(java.lang.String message, java.lang.Throwable cause)Constructs a newConfigurationExceptionwith specified detail message and nestedThrowable.- Parameters:
message- the error message.cause- the cause (which is saved for later retrieval by theThrowable.getCause()method). (Anullvalue is permitted, and indicates that the cause is nonexistent or unknown.)
-
ConfigurationException
public ConfigurationException(java.lang.Throwable cause)
Constructs a newConfigurationExceptionwith specified nestedThrowable.- Parameters:
cause- the exception or error that caused this exception to be thrown.
-
ConfigurationException
public ConfigurationException(java.lang.Throwable cause, java.lang.String format, java.lang.Object... params)Constructs a newConfigurationExceptionwith specified detail message.- Parameters:
format- the error message for forString.format(String, Object...).params- the error parameters for forString.format(String, Object...).cause- the cause (which is saved for later retrieval by theThrowable.getCause()method). (Anullvalue is permitted, and indicates that the cause is nonexistent or unknown.)- Since:
- 2.14.0
-
-