Package org.apache.commons.configuration
Class ConfigurationRuntimeException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.apache.commons.lang.exception.NestableRuntimeException
-
- org.apache.commons.configuration.ConfigurationRuntimeException
-
- All Implemented Interfaces:
java.io.Serializable
,org.apache.commons.lang.exception.Nestable
- Direct Known Subclasses:
ConversionException
public class ConfigurationRuntimeException extends org.apache.commons.lang.exception.NestableRuntimeException
A configuration related runtime exception.- Since:
- 1.0
- Version:
- $Id: ConfigurationRuntimeException.java 1208785 2011-11-30 21:13:50Z oheger $
- Author:
- Emmanuel Bourg
- 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.Throwable cause)
Constructs a newConfigurationRuntimeException
with specified detail message and nestedThrowable
.ConfigurationRuntimeException(java.lang.Throwable cause)
Constructs a newConfigurationRuntimeException
with specified nestedThrowable
.
-
Method Summary
-
Methods inherited from class org.apache.commons.lang.exception.NestableRuntimeException
getCause, getMessage, getMessage, getMessages, getThrowable, getThrowableCount, getThrowables, indexOfThrowable, indexOfThrowable, printPartialStackTrace, printStackTrace, printStackTrace, printStackTrace
-
-
-
-
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.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
-
-