org.apache.commons.configuration

Class ConversionException

public class ConversionException extends ConfigurationRuntimeException

Exception thrown when a property is incompatible with the type requested.

Since: 1.0

Version: $Revision: 439648 $, $Date: 2006-09-02 22:42:10 +0200 (Sa, 02 Sep 2006) $

Author: Emmanuel Bourg

Field Summary
static longserialVersionUID
The serial version UID.
Constructor Summary
ConversionException()
Constructs a new ConversionException without specified detail message.
ConversionException(String message)
Constructs a new ConversionException with specified detail message.
ConversionException(Throwable cause)
Constructs a new ConversionException with specified nested Throwable.
ConversionException(String message, Throwable cause)
Constructs a new ConversionException with specified detail message and nested Throwable.

Field Detail

serialVersionUID

private static final long serialVersionUID
The serial version UID.

Constructor Detail

ConversionException

public ConversionException()
Constructs a new ConversionException without specified detail message.

ConversionException

public ConversionException(String message)
Constructs a new ConversionException with specified detail message.

Parameters: message the error message

ConversionException

public ConversionException(Throwable cause)
Constructs a new ConversionException with specified nested Throwable.

Parameters: cause the exception or error that caused this exception to be thrown

ConversionException

public ConversionException(String message, Throwable cause)
Constructs a new ConversionException with specified detail message and nested Throwable.

Parameters: message the error message cause the exception or error that caused this exception to be thrown