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