Class UnconvertibleObjectException

All Implemented Interfaces:
Serializable

public class UnconvertibleObjectException extends IllegalArgumentException
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 Details

    • UnconvertibleObjectException

      public UnconvertibleObjectException()
      Constructs a new exception with no message.
    • UnconvertibleObjectException

      public UnconvertibleObjectException(String message)
      Constructs a new exception with the specified detail message.
      Parameters:
      message - the detail message, or null if none.
    • UnconvertibleObjectException

      public UnconvertibleObjectException(String message, Throwable cause)
      Constructs a new exception with the specified detail message and cause.
      Parameters:
      message - the detail message, or null if none.
      cause - the cause, or null if none.
    • UnconvertibleObjectException

      public UnconvertibleObjectException(Throwable cause)
      Constructs a new exception with the specified cause.
      Parameters:
      cause - the cause, or null if none.