Class EntryVersionConflictException
java.lang.Object
java.lang.Throwable
java.lang.Exception
net.jini.core.entry.UnusableEntryException
com.j_spaces.core.DetailedUnusableEntryException
com.j_spaces.core.client.EntryVersionConflictException
- All Implemented Interfaces:
Serializable
This exception is thrown when update/take operation is rejected as a result of optimistic locking
version conflict.
- Version:
- 3.0
- Author:
- Yechiel
- See Also:
-
Field Summary
Fields inherited from class UnusableEntryException
nestedExceptions, partialEntry, unusableFields -
Constructor Summary
ConstructorsConstructorDescriptionEntryVersionConflictException(String UID, int spaceVersionID, int clientVersionID, String operation) -
Method Summary
Modifier and TypeMethodDescriptionintReturn entry client Version IDReturn the space operation caused the conflict Take or UpdateintReturn entry Space Version IDgetUID()Return entry UIDMethods inherited from class DetailedUnusableEntryException
getMessageMethods inherited from class UnusableEntryException
printStackTrace, printStackTrace, printStackTraceMethods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, setStackTrace, toString
-
Constructor Details
-
EntryVersionConflictException
-
-
Method Details
-
getUID
Return entry UID -
getSpaceVersionID
public int getSpaceVersionID()Return entry Space Version ID -
getClientVersionID
public int getClientVersionID()Return entry client Version ID -
getOperation
Return the space operation caused the conflict Take or Update
-