GigaSpaces XAP 10.0.1 API

org.openspaces.core
Class SpaceOptimisticLockingFailureException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.springframework.core.NestedRuntimeException
                  extended by org.springframework.dao.DataAccessException
                      extended by org.springframework.dao.TransientDataAccessException
                          extended by org.springframework.dao.ConcurrencyFailureException
                              extended by org.springframework.dao.OptimisticLockingFailureException
                                  extended by org.openspaces.core.SpaceOptimisticLockingFailureException
All Implemented Interfaces:
Serializable

public class SpaceOptimisticLockingFailureException
extends 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:
Serialized Form

Constructor Summary
SpaceOptimisticLockingFailureException(EntryVersionConflictException e)
           
 
Method Summary
 int getClientVersionID()
          Returns the entry client Version ID
 String getOperation()
          Return the space operation caused the conflict Take or Update
 int getSpaceVersionID()
          Returns the entry Space Version ID.
 String getUID()
          Returns the entry UID.
 
Methods inherited from class org.springframework.core.NestedRuntimeException
contains, getMessage, getMostSpecificCause, getRootCause
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SpaceOptimisticLockingFailureException

public SpaceOptimisticLockingFailureException(EntryVersionConflictException e)
Method Detail

getUID

public String getUID()
Returns the entry UID.

See Also:
EntryVersionConflictException.getUID()

getSpaceVersionID

public int getSpaceVersionID()
Returns the entry Space Version ID.

See Also:
EntryVersionConflictException.getSpaceVersionID()

getClientVersionID

public int getClientVersionID()
Returns the entry client Version ID

See Also:
EntryVersionConflictException.getClientVersionID()

getOperation

public String getOperation()
Return the space operation caused the conflict Take or Update

See Also:
EntryVersionConflictException.getOperation()

GigaSpaces XAP 10.0.1 API

Copyright © GigaSpaces.