public class ConversionException extends RuntimeException
A ConversionException indicates that a call to
Converter.convert()
has failed to complete successfully.
Modifier and Type | Field and Description |
---|---|
protected Throwable |
cause
The root cause of this
ConversionException , compatible with
JDK 1.4's extensions to java.lang.Throwable . |
Constructor and Description |
---|
ConversionException(String message)
Construct a new exception with the specified message.
|
ConversionException(String message,
Throwable cause)
Construct a new exception with the specified message and root cause.
|
ConversionException(Throwable cause)
Construct a new exception with the specified root cause.
|
Modifier and Type | Method and Description |
---|---|
Throwable |
getCause()
Return the root cause of this conversion exception.
|
addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
protected Throwable cause
ConversionException
, compatible with
JDK 1.4's extensions to java.lang.Throwable
.public ConversionException(String message)
message
- The message describing this exceptionpublic ConversionException(String message, Throwable cause)
message
- The message describing this exceptioncause
- The root cause of this exceptionpublic ConversionException(Throwable cause)
cause
- The root cause of this exceptionCopyright © 2000–2014 The Apache Software Foundation. All rights reserved.