Package edu.caltech.nanodb.expressions
Class TruncationException
- 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
-
- edu.caltech.nanodb.expressions.TruncationException
-
- All Implemented Interfaces:
java.io.Serializable
public class TruncationException extends TypeCastException
This exception is a specific subtype of the type-cast exception that is thrown when a type-conversion would cause a truncation of a value.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description TruncationException()
Create a new TruncationException with no message or cause.TruncationException(java.lang.String message)
Create a new TruncationException with the specified message.TruncationException(java.lang.String message, java.lang.Throwable cause)
Create a new TruncationException with the specified message and cause.TruncationException(java.lang.Throwable cause)
Create a new TruncationException with the specified cause.
-
-
-
Constructor Detail
-
TruncationException
public TruncationException()
Create a new TruncationException with no message or cause.
-
TruncationException
public TruncationException(java.lang.String message)
Create a new TruncationException with the specified message.
-
TruncationException
public TruncationException(java.lang.Throwable cause)
Create a new TruncationException with the specified cause.
-
TruncationException
public TruncationException(java.lang.String message, java.lang.Throwable cause)
Create a new TruncationException with the specified message and cause.
-
-