Class EntryDeletedException

java.lang.Object
java.lang.Throwable
java.lang.Exception
com.j_spaces.core.EntryDeletedException
All Implemented Interfaces:
Serializable

public class EntryDeletedException extends Exception
This exception is thrown when the updated entry does not exist in space in optimistic locking scenarios.
Version:
3.2
Author:
Yechel Fefer
See Also:
  • Constructor Details

    • EntryDeletedException

      public EntryDeletedException()
    • EntryDeletedException

      public EntryDeletedException(String uid)
    • EntryDeletedException

      public EntryDeletedException(boolean deletedByOwnTxn)
  • Method Details

    • getUID

      public String getUID()
      Return entry UID
    • deletedByOwnTxn

      public boolean deletedByOwnTxn()
      Returns:
      true if entry is marked deleted by own transaction and not-yet committed.
    • fillInStackTrace

      public Throwable fillInStackTrace()
      Override the method to avoid expensive stack build and synchronization, since no one uses it anyway.
      Overrides:
      fillInStackTrace in class Throwable