Class DataTypeEncodeException

  • All Implemented Interfaces:
    java.io.Serializable

    public class DataTypeEncodeException
    extends UsrException
    Exception thrown when a value cannot be encoded for a data type
    See Also:
    Serialized Form
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      DataType getDataType()
      Get the data type
      java.lang.Object getValue()
      Get the requested value or representation
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • DataTypeEncodeException

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

        public DataTypeEncodeException​(java.lang.String message,
                                       java.lang.Object value,
                                       DataType dt,
                                       java.lang.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​(java.lang.Object value,
                                       DataType dt,
                                       java.lang.Throwable cause)
        Constructor
        Parameters:
        value - the requested value or representation
        dt - the data type
        cause - the exception cause
    • Method Detail

      • getValue

        public java.lang.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