Class TypeCastException

All Implemented Interfaces:
Serializable

public class TypeCastException extends DataTypeException
Signals that a value could not be cast to the Java type required by a DataType.
Version:
$Revision$
Author:
Manuel Laflamme
See Also:
  • Constructor Details

    • TypeCastException

      public TypeCastException(Throwable e)
      Constructs a TypeCastException with the specified cause.
      Parameters:
      e - the cause.
    • TypeCastException

      public TypeCastException(String msg, Throwable e)
      Constructs a TypeCastException with the specified detail message and cause.
      Parameters:
      msg - the detail message.
      e - the cause.
    • TypeCastException

      public TypeCastException(Object value, DataType dataType)
      Constructs a TypeCastException for the given value and target data type.
      Parameters:
      value - the value that could not be cast.
      dataType - the target data type.
    • TypeCastException

      public TypeCastException(Object value, DataType dataType, Throwable e)
      Constructs a TypeCastException for the given value and target data type, with a cause.
      Parameters:
      value - the value that could not be cast.
      dataType - the target data type.
      e - the cause.