Class DataTypeEncodeException

All Implemented Interfaces:
Serializable

public class DataTypeEncodeException extends UsrException
Exception thrown when a value cannot be encoded for a data type
See Also:
  • Constructor Details

    • DataTypeEncodeException

      public DataTypeEncodeException(String message, Object value, DataType dt)
      Constructor
      Parameters:
      message - the exception message
      value - the requested value or representation
      dt - the data type
    • DataTypeEncodeException

      public DataTypeEncodeException(String message, Object value, DataType dt, Throwable cause)
      Constructor
      Parameters:
      message - the exception message
      value - the requested value or representation
      dt - the data type
      cause - the exception cause
    • DataTypeEncodeException

      public DataTypeEncodeException(Object value, DataType dt, Throwable cause)
      Constructor
      Parameters:
      value - the requested value or representation
      dt - the data type
      cause - the exception cause
  • Method Details

    • getValue

      public Object getValue()
      Get the requested value or representation
      Returns:
      the requested value representation
    • getDataType

      public DataType getDataType()
      Get the data type
      Returns:
      the data type