Class ConfigurationRuntimeException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.apache.commons.configuration2.ex.ConfigurationRuntimeException
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
ConfigurationDeniedException,ConversionException
public class ConfigurationRuntimeException extends java.lang.RuntimeExceptionA configuration related runtime exception.- Since:
- 1.0
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ConfigurationRuntimeException()Constructs a newConfigurationRuntimeExceptionwithout specified detail message.ConfigurationRuntimeException(java.lang.String message)Constructs a newConfigurationRuntimeExceptionwith specified detail message.ConfigurationRuntimeException(java.lang.String message, java.lang.Object... args)Constructs a newConfigurationRuntimeExceptionwith specified detail message usingString.format(String,Object...).ConfigurationRuntimeException(java.lang.String message, java.lang.Throwable cause)Constructs a newConfigurationRuntimeExceptionwith specified detail message and nestedThrowable.ConfigurationRuntimeException(java.lang.Throwable cause)Constructs a newConfigurationRuntimeExceptionwith specified nestedThrowable.ConfigurationRuntimeException(java.lang.Throwable cause, java.lang.String format, java.lang.Object... params)Constructs a newConfigurationRuntimeExceptionwith specified detail message.
-
-
-
Constructor Detail
-
ConfigurationRuntimeException
public ConfigurationRuntimeException()
Constructs a newConfigurationRuntimeExceptionwithout specified detail message.
-
ConfigurationRuntimeException
public ConfigurationRuntimeException(java.lang.String message)
Constructs a newConfigurationRuntimeExceptionwith specified detail message.- Parameters:
message- the error message
-
ConfigurationRuntimeException
public ConfigurationRuntimeException(java.lang.String message, java.lang.Object... args)Constructs a newConfigurationRuntimeExceptionwith specified detail message usingString.format(String,Object...).- Parameters:
message- the error message.args- arguments to the error message.- See Also:
String.format(String,Object...)
-
ConfigurationRuntimeException
public ConfigurationRuntimeException(java.lang.String message, java.lang.Throwable cause)Constructs a newConfigurationRuntimeExceptionwith specified detail message and nestedThrowable.- Parameters:
message- the error message.cause- the exception or error that caused this exception to be thrown.
-
ConfigurationRuntimeException
public ConfigurationRuntimeException(java.lang.Throwable cause)
Constructs a newConfigurationRuntimeExceptionwith specified nestedThrowable.- Parameters:
cause- the exception or error that caused this exception to be thrown.
-
ConfigurationRuntimeException
public ConfigurationRuntimeException(java.lang.Throwable cause, java.lang.String format, java.lang.Object... params)Constructs a newConfigurationRuntimeExceptionwith 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
-
-