Object
Throwable
Exception
RuntimeException
IllegalArgumentException
UnconvertibleObjectException
- All Implemented Interfaces:
Serializable
Thrown when an object cannot be converted
from the source type to the target type.
Some converters may attempt many strategies before to give up, resulting in more than one exception being caught. In such case, all the failed attempts will be reported as suppressed exceptions and the cause will be an arbitrary item of this list.
- Since:
- 0.3
- See Also:
-
Constructor Summary
ConstructorDescriptionConstructs a new exception with no message.UnconvertibleObjectException
(String message) Constructs a new exception with the specified detail message.UnconvertibleObjectException
(String message, Throwable cause) Constructs a new exception with the specified detail message and cause.Constructs a new exception with the specified cause. -
Method Summary
Methods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
UnconvertibleObjectException
public UnconvertibleObjectException()Constructs a new exception with no message. -
UnconvertibleObjectException
Constructs a new exception with the specified detail message.- Parameters:
message
- the detail message, ornull
if none.
-
UnconvertibleObjectException
Constructs a new exception with the specified detail message and cause.- Parameters:
message
- the detail message, ornull
if none.cause
- the cause, ornull
if none.
-
UnconvertibleObjectException
Constructs a new exception with the specified cause.- Parameters:
cause
- the cause, ornull
if none.
-