Package civitas.celestis.exception.tuple
Class TupleIndexOutOfBoundsException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.lang.IndexOutOfBoundsException
civitas.celestis.exception.tuple.TupleIndexOutOfBoundsException
- All Implemented Interfaces:
Serializable
This exception is thrown when an invalid index is used to query a tuple.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCreates a new exception with no message.TupleIndexOutOfBoundsException(int index) Creates a new exception.TupleIndexOutOfBoundsException(long index) Creates a new exception.Creates a new exception. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
TupleIndexOutOfBoundsException
public TupleIndexOutOfBoundsException()Creates a new exception with no message. -
TupleIndexOutOfBoundsException
Creates a new exception.- Parameters:
s- The message of this exception
-
TupleIndexOutOfBoundsException
public TupleIndexOutOfBoundsException(int index) Creates a new exception.- Parameters:
index- The illegal index
-
TupleIndexOutOfBoundsException
public TupleIndexOutOfBoundsException(long index) Creates a new exception.- Parameters:
index- The illegal index
-