Package org.openspaces.core
Class SpaceOptimisticLockingFailureException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.springframework.core.NestedRuntimeException
org.springframework.dao.DataAccessException
org.springframework.dao.TransientDataAccessException
org.springframework.dao.ConcurrencyFailureException
org.springframework.dao.OptimisticLockingFailureException
org.openspaces.core.SpaceOptimisticLockingFailureException
- All Implemented Interfaces:
Serializable
public class SpaceOptimisticLockingFailureException
extends org.springframework.dao.OptimisticLockingFailureException
This exception is thrown when update/take/change/clear operation is rejected as a result of
optimistic locking version conflict. Wraps
EntryVersionConflictException.- Author:
- kimchy
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintReturns the entry client Version IDReturn the space operation caused the conflict Take or UpdateintReturns the entry Space Version ID.getUID()Returns the entry UID.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
-
SpaceOptimisticLockingFailureException
-
-
Method Details
-
getUID
Returns the entry UID.- See Also:
-
getSpaceVersionID
public int getSpaceVersionID()Returns the entry Space Version ID. -
getClientVersionID
public int getClientVersionID()Returns the entry client Version ID -
getOperation
Return the space operation caused the conflict Take or Update
-