Class DeletedObjectException

All Implemented Interfaces:
Serializable

public class DeletedObjectException extends DatabaseException
Thrown when an object is accessed but the object does not exist in its associated transaction.
See Also:
  • Constructor Details

    • DeletedObjectException

      public DeletedObjectException(ObjId id)
      Constructor.
      Parameters:
      id - the ID of the object that was not found
    • DeletedObjectException

      public DeletedObjectException(Transaction tx, ObjId id)
      Constructor.
      Parameters:
      tx - the transaction within which this exception was generated
      id - the ID of the object that was not found
      Throws:
      NullPointerException - if tx is null
    • DeletedObjectException

      public DeletedObjectException(ObjId id, String message)
      Constructor.
      Parameters:
      id - the ID of the object that was not found
      message - detail message
  • Method Details

    • getId

      public ObjId getId()
      Get the ID of the object that could not be accessed.
      Returns:
      deleted object's ID