Class EntryNotInSpaceException

All Implemented Interfaces:
Serializable

public class EntryNotInSpaceException extends DetailedUnusableEntryException
This exception is thrown when update operation is rejected. The entry specified by the UID is not in the space - it was not found or has been deleted
Version:
3.0
Author:
Yechiel
See Also:
  • Constructor Details

    • EntryNotInSpaceException

      public EntryNotInSpaceException(String uid, String spaceName, boolean deletedByOwnTx)
      Constructor.
      Parameters:
      uid - unique ID of the entry
      spaceName - the name of the space that throws this exception
      deletedByOwnTx - true if deleted in the same transaction
  • Method Details

    • getUID

      public String getUID()
      Returns Entry UID.
      Returns:
      unique ID of the entry that caused this exception
    • isDeletedByOwnTxn

      public boolean isDeletedByOwnTxn()
      Check if deleted in the same transaction.
      Returns:
      true if deleted by the same transaction
    • getMessage

      public String getMessage()
      Overrides:
      getMessage in class DetailedUnusableEntryException