Class ConversionException

All Implemented Interfaces:
Serializable

public class ConversionException extends JCoRuntimeException
A ConversionException will be thrown, if a field in a JCoRecord cannot store a value passed to this record by a setValue call. One possible reason is trying to store some arbitrary text in a date field, or trying to put non-digits into an int field.
See Also:
  • Constructor Details

    • ConversionException

      public ConversionException(String message)
      Creates a ConversationException with the specified message.
      Parameters:
      message - the message describing the exception
    • ConversionException

      public ConversionException(String message, Throwable causedBy)
      Creates a ConversationException with the specified message and the causing throwable.
      Parameters:
      message - the message describing the exception
      causedBy - The throwable that caused the ConversionException