GigaSpaces XAP 7.0 API

org.openspaces.core
Class EntryNotInSpaceException

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.NonTransientDataAccessException
                          extended by org.springframework.dao.DataRetrievalFailureException
                              extended by org.openspaces.core.EntryNotInSpaceException
All Implemented Interfaces:
Serializable

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

Constructor Summary
EntryNotInSpaceException(EntryNotInSpaceException e)
           
 
Method Summary
 String getUID()
          Returns Entry UID.
 boolean isDeletedByOwnTxn()
          Check if deleted in the same transaction.
 
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

EntryNotInSpaceException

public EntryNotInSpaceException(EntryNotInSpaceException e)
Method Detail

getUID

public String getUID()
Returns Entry UID.

Returns:
unique ID of the entry that caused this exception
See Also:
EntryNotInSpaceException.getUID()

isDeletedByOwnTxn

public boolean isDeletedByOwnTxn()
Check if deleted in the same transaction.

Returns:
true if deleted by the same transaction
See Also:
EntryNotInSpaceException.isDeletedByOwnTxn()

GigaSpaces XAP 7.0 API

Copyright © GigaSpaces.