Class ConversionException

All Implemented Interfaces:
Serializable

Thrown when a property is incompatible with the type requested.
Since:
1.0
See Also:
  • Constructor Details

    • ConversionException

      Constructs a new ConversionException without specified detail message.
    • ConversionException

      public ConversionException(String message)
      Constructs a new ConversionException with specified detail message.
      Parameters:
      message - the error message
    • ConversionException

      public ConversionException(String format, Object... params)
      Constructs a new ConversionException with specified detail message.
      Parameters:
      format - the error message for for String.format(String, Object...).
      params - the error parameters for for String.format(String, Object...).
      Since:
      2.14.0
    • ConversionException

      public ConversionException(String message, Throwable cause)
      Constructs a new ConversionException with specified detail message and nested Throwable.
      Parameters:
      message - the error message
      cause - the exception or error that caused this exception to be thrown
    • ConversionException

      Constructs a new ConversionException with specified nested Throwable.
      Parameters:
      cause - the exception or error that caused this exception to be thrown
    • ConversionException

      public ConversionException(Throwable cause, String format, Object... params)
      Constructs a new ConversionException with specified detail message.
      Parameters:
      cause - the cause (which is saved for later retrieval by the Throwable.getCause() method). (A null value is permitted, and indicates that the cause is nonexistent or unknown.)
      format - the error message for for String.format(String, Object...).
      params - the error parameters for for String.format(String, Object...).
      Since:
      2.14.0