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:
ConversionException
public class ConfigurationRuntimeException extends java.lang.RuntimeException
A configuration related runtime exception.- Since:
- 1.0
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ConfigurationRuntimeException()
Constructs a newConfigurationRuntimeException
without specified detail message.ConfigurationRuntimeException(java.lang.String message)
Constructs a newConfigurationRuntimeException
with specified detail message.ConfigurationRuntimeException(java.lang.String message, java.lang.Object... args)
Constructs a newConfigurationRuntimeException
with specified detail message usingString.format(String,Object...)
.ConfigurationRuntimeException(java.lang.String message, java.lang.Throwable cause)
Constructs a newConfigurationRuntimeException
with specified detail message and nestedThrowable
.ConfigurationRuntimeException(java.lang.Throwable cause)
Constructs a newConfigurationRuntimeException
with specified nestedThrowable
.
-
-
-
Constructor Detail
-
ConfigurationRuntimeException
public ConfigurationRuntimeException()
Constructs a newConfigurationRuntimeException
without specified detail message.
-
ConfigurationRuntimeException
public ConfigurationRuntimeException(java.lang.String message)
Constructs a newConfigurationRuntimeException
with specified detail message.- Parameters:
message
- the error message
-
ConfigurationRuntimeException
public ConfigurationRuntimeException(java.lang.String message, java.lang.Object... args)
Constructs a newConfigurationRuntimeException
with specified detail message usingString.format(String,Object...)
.- Parameters:
message
- the error messageargs
- arguments to the error message- See Also:
String.format(String,Object...)
-
ConfigurationRuntimeException
public ConfigurationRuntimeException(java.lang.Throwable cause)
Constructs a newConfigurationRuntimeException
with specified nestedThrowable
.- Parameters:
cause
- the exception or error that caused this exception to be thrown
-
ConfigurationRuntimeException
public ConfigurationRuntimeException(java.lang.String message, java.lang.Throwable cause)
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
-
-