Class ConfigurationRuntimeException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.apache.commons.configuration2.ex.ConfigurationRuntimeException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
ConversionException
A configuration related runtime exception.
- Since:
- 1.0
- See Also:
-
Constructor Summary
ConstructorDescriptionConstructs a newConfigurationRuntimeException
without specified detail message.ConfigurationRuntimeException
(String message) Constructs a newConfigurationRuntimeException
with specified detail message.ConfigurationRuntimeException
(String message, Object... args) Constructs a newConfigurationRuntimeException
with specified detail message usingString.format(String,Object...)
.ConfigurationRuntimeException
(String message, Throwable cause) Constructs a newConfigurationRuntimeException
with specified detail message and nestedThrowable
.Constructs a newConfigurationRuntimeException
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
-
ConfigurationRuntimeException
public ConfigurationRuntimeException()Constructs a newConfigurationRuntimeException
without specified detail message. -
ConfigurationRuntimeException
Constructs a newConfigurationRuntimeException
with specified detail message.- Parameters:
message
- the error message
-
ConfigurationRuntimeException
Constructs a newConfigurationRuntimeException
with specified detail message usingString.format(String,Object...)
.- Parameters:
message
- the error messageargs
- arguments to the error message- See Also:
-
ConfigurationRuntimeException
Constructs a newConfigurationRuntimeException
with specified detail message and nestedThrowable
.- Parameters:
message
- the error messagecause
- the exception or error that caused this exception to be thrown
-
ConfigurationRuntimeException
Constructs a newConfigurationRuntimeException
with specified nestedThrowable
.- Parameters:
cause
- the exception or error that caused this exception to be thrown
-