public class ConversionException extends RuntimeException
A ConversionException indicates that a call to
Converter.convert() has failed to complete successfully.
| 限定符和类型 | 字段和说明 |
|---|---|
protected Throwable |
cause
The root cause of this
ConversionException, compatible with
JDK 1.4's extensions to java.lang.Throwable. |
| 构造器和说明 |
|---|
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.
|
| 限定符和类型 | 方法和说明 |
|---|---|
Throwable |
getCause()
Return the root cause of this conversion exception.
|
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 © 2021–2022. All rights reserved.