java.io.Serializable
public class ConversionException
extends java.lang.RuntimeException
A ConversionException indicates that a call to
Converter.convert()
has failed to complete successfully.
Modifier and Type | Field | Description |
---|---|---|
protected java.lang.Throwable |
cause |
The root cause of this
ConversionException , compatible with
JDK 1.4's extensions to java.lang.Throwable . |
Constructor | Description |
---|---|
ConversionException(java.lang.String message) |
Construct a new exception with the specified message.
|
ConversionException(java.lang.String message,
java.lang.Throwable cause) |
Construct a new exception with the specified message and root cause.
|
ConversionException(java.lang.Throwable cause) |
Construct a new exception with the specified root cause.
|
Modifier and Type | Method | Description |
---|---|---|
java.lang.Throwable |
getCause() |
Return the root cause of this conversion exception.
|
protected java.lang.Throwable cause
ConversionException
, compatible with
JDK 1.4's extensions to java.lang.Throwable
.public ConversionException(java.lang.String message)
message
- The message describing this exceptionpublic ConversionException(java.lang.String message, java.lang.Throwable cause)
message
- The message describing this exceptioncause
- The root cause of this exceptionpublic ConversionException(java.lang.Throwable cause)
cause
- The root cause of this exceptionCopyright (c) 2000-2008 - Apache Software Foundation