Class ConversionException

All Implemented Interfaces:
Serializable

public class ConversionException extends RuntimeException
Raised when a property of a given type is retrieved as a property of another type (eg trying to get a String property as a Boolean).
Since:
2.0M1
Version:
$Id: a29e0973a2f3efbaee1cd8e3beba91af2fa358f1 $
See Also:
  • Constructor Details

    • ConversionException

      public ConversionException(String message)
      Construct a new Exception with the specified detail message.
      Parameters:
      message - The detailed message. This can later be retrieved by the Throwable.getMessage() method.
    • ConversionException

      public ConversionException(String message, Throwable cause)
      Construct a new Exception with the specified detail message and cause.
      Parameters:
      message - The detailed message. This can later be retrieved by the Throwable.getMessage() method.
      cause - the cause. This can be retrieved later by the Throwable.getCause() method. (A null value is permitted, and indicates that the cause is nonexistent or unknown)