Package acdp.exceptions
Class IllegalReferenceException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
acdp.exceptions.ACDPException
acdp.exceptions.IllegalReferenceException
- All Implemented Interfaces:
Serializable
Thrown if a row reference is illegal.
A row rerence is illegal if and only if one of the following two conditions
is satisfied while a row is being accessed:
- The reference points to a row that does not exist within the table.
- The reference points to a row gap.
Note: To be illegal a row reference cannot be equal to null.
- Author:
- Beat Hörmann
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionIllegalReferenceException(acdp.internal.Table_ table, acdp.internal.Ref_ ref, boolean rowGap) The constructor. -
Method Summary
Modifier and TypeMethodDescriptionbooleanrowGap()Indicates if this exception was thrown due to a row gap.Methods inherited from class acdp.exceptions.ACDPException
compose, prefix, prefix, prefix, prefix, prefix, prefix, prefixMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
IllegalReferenceException
public IllegalReferenceException(acdp.internal.Table_ table, acdp.internal.Ref_ ref, boolean rowGap) The constructor.- Parameters:
table- The table.ref- The reference.rowGap- The flag that indicates if the pointed row is a row gap,trueif it is,falseif not.
-
-
Method Details
-
rowGap
public boolean rowGap()Indicates if this exception was thrown due to a row gap.- Returns:
- The boolean value
trueif and only if this exception was thrown due to a row gap.
-