Class IllegalReferenceException

All Implemented Interfaces:
Serializable

public final class IllegalReferenceException extends ACDPException
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 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, true if it is, false if not.
  • Method Details

    • rowGap

      public boolean rowGap()
      Indicates if this exception was thrown due to a row gap.
      Returns:
      The boolean value true if and only if this exception was thrown due to a row gap.