Class ConversionException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.apache.commons.lang.exception.NestableRuntimeException
org.apache.commons.configuration.ConfigurationRuntimeException
org.apache.commons.configuration.ConversionException
- All Implemented Interfaces:
Serializable, org.apache.commons.lang.exception.Nestable
Exception thrown when a property is incompatible with the type requested.
- Since:
- 1.0
- Version:
- $Id: ConversionException.java 1208806 2011-11-30 21:34:11Z oheger $
- Author:
- Emmanuel Bourg
- See Also:
-
Field Summary
Fields inherited from class org.apache.commons.lang.exception.NestableRuntimeException
delegate -
Constructor Summary
ConstructorsConstructorDescriptionConstructs a newConversionExceptionwithout specified detail message.ConversionException(String message) Constructs a newConversionExceptionwith specified detail message.ConversionException(String message, Throwable cause) Constructs a newConversionExceptionwith specified detail message and nestedThrowable.ConversionException(Throwable cause) Constructs a newConversionExceptionwith 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, printStackTraceMethods inherited from class Throwable
addSuppressed, fillInStackTrace, getLocalizedMessage, getStackTrace, getSuppressed, initCause, setStackTrace, toString
-
Constructor Details
-
ConversionException
public ConversionException()Constructs a newConversionExceptionwithout specified detail message. -
ConversionException
Constructs a newConversionExceptionwith specified detail message.- Parameters:
message- the error message
-
ConversionException
Constructs a newConversionExceptionwith specified nestedThrowable.- Parameters:
cause- the exception or error that caused this exception to be thrown
-
ConversionException
Constructs a newConversionExceptionwith specified detail message and nestedThrowable.- Parameters:
message- the error messagecause- the exception or error that caused this exception to be thrown
-