Package edu.caltech.nanodb.expressions
Class TypeCastException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- edu.caltech.nanodb.server.NanoDBException
-
- edu.caltech.nanodb.expressions.ExpressionException
-
- edu.caltech.nanodb.expressions.TypeCastException
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
TruncationException
public class TypeCastException extends ExpressionException
This exception is thrown when theTypeConverter
tries to cast a value from one type to another incompatible type.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description TypeCastException()
Create a newTypeCastException
with no message or cause.TypeCastException(java.lang.String message)
Create a newTypeCastException
with the specified message.TypeCastException(java.lang.String message, java.lang.Throwable cause)
Create a newTypeCastException
with the specified message and cause.TypeCastException(java.lang.Throwable cause)
Create a newTypeCastException
with the specified cause.
-
-
-
Constructor Detail
-
TypeCastException
public TypeCastException()
Create a newTypeCastException
with no message or cause.
-
TypeCastException
public TypeCastException(java.lang.String message)
Create a newTypeCastException
with the specified message.
-
TypeCastException
public TypeCastException(java.lang.Throwable cause)
Create a newTypeCastException
with the specified cause.
-
TypeCastException
public TypeCastException(java.lang.String message, java.lang.Throwable cause)
Create a newTypeCastException
with the specified message and cause.
-
-