Class ConversionException

All Implemented Interfaces:
Serializable

public class ConversionException extends EclipseLinkException

Purpose: Conversion exceptions such as method or class not defined will raise this exception.

See Also:
  • Field Details

    • classToConvertTo

      protected Class classToConvertTo
    • sourceObject

      protected transient Object sourceObject
    • COULD_NOT_BE_CONVERTED

      public static final int COULD_NOT_BE_CONVERTED
      See Also:
    • COULD_NOT_BE_CONVERTED_EXTENDED

      public static final int COULD_NOT_BE_CONVERTED_EXTENDED
      See Also:
    • INCORRECT_DATE_FORMAT

      public static final int INCORRECT_DATE_FORMAT
      See Also:
    • INCORRECT_TIME_FORMAT

      public static final int INCORRECT_TIME_FORMAT
      See Also:
    • INCORRECT_TIMESTAMP_FORMAT

      public static final int INCORRECT_TIMESTAMP_FORMAT
      See Also:
    • COULD_NOT_CONVERT_TO_BYTE_ARRAY

      public static final int COULD_NOT_CONVERT_TO_BYTE_ARRAY
      See Also:
    • COULD_NOT_BE_CONVERTED_TO_CLASS

      public static final int COULD_NOT_BE_CONVERTED_TO_CLASS
      See Also:
    • INCORRECT_DATE_TIME_FORMAT

      public static final int INCORRECT_DATE_TIME_FORMAT
      See Also:
    • UNABLE_TO_SET_PROPERTIES

      public static final int UNABLE_TO_SET_PROPERTIES
      See Also:
  • Constructor Details

    • ConversionException

      protected ConversionException()
      INTERNAL: TopLink exceptions should only be thrown by TopLink. This constructor is only for error message scripting.
    • ConversionException

      protected ConversionException(String message, Object sourceObject, Class classToConvertTo, Exception exception)
      INTERNAL: TopLink exceptions should only be thrown by TopLink.
  • Method Details