Package org.openspaces.core
Class EntryNotInSpaceException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.springframework.core.NestedRuntimeException
org.springframework.dao.DataAccessException
org.springframework.dao.NonTransientDataAccessException
org.springframework.dao.DataRetrievalFailureException
org.openspaces.core.EntryNotInSpaceException
- All Implemented Interfaces:
Serializable
public class EntryNotInSpaceException
extends org.springframework.dao.DataRetrievalFailureException
This exception is thrown when
update, readIfExist or
takeIfExist operations are rejected. The entry specified by the UID is not in the
space - it was not found or has been deleted. Wraps EntryNotInSpaceException.- Author:
- kimchy
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetUID()Returns Entry UID.booleanCheck if deleted in the same transaction.Methods inherited from class org.springframework.core.NestedRuntimeException
contains, getMostSpecificCause, getRootCauseMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
EntryNotInSpaceException
-
-
Method Details
-
getUID
Returns Entry UID.- Returns:
- unique ID of the entry that caused this exception
- See Also:
-
isDeletedByOwnTxn
public boolean isDeletedByOwnTxn()Check if deleted in the same transaction.- Returns:
trueif deleted by the same transaction- See Also:
-