Package com.j_spaces.core
Class EntryDeletedException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.j_spaces.core.EntryDeletedException
- All Implemented Interfaces:
Serializable
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanOverride the method to avoid expensive stack build and synchronization, since no one uses it anyway.getUID()Return entry UIDMethods inherited from class java.lang.Throwable
addSuppressed, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
EntryDeletedException
public EntryDeletedException() -
EntryDeletedException
-
EntryDeletedException
public EntryDeletedException(boolean deletedByOwnTxn)
-
-
Method Details
-
getUID
Return entry UID -
deletedByOwnTxn
public boolean deletedByOwnTxn()- Returns:
- true if entry is marked deleted by own transaction and not-yet committed.
-
fillInStackTrace
Override the method to avoid expensive stack build and synchronization, since no one uses it anyway.- Overrides:
fillInStackTracein classThrowable
-