GigaSpaces XAP 7.0 API

com.j_spaces.core.client
Class EntryNotInSpaceException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by net.jini.core.entry.UnusableEntryException
              extended by com.j_spaces.core.DetailedUnusableEntryException
                  extended by com.j_spaces.core.client.EntryNotInSpaceException
All Implemented Interfaces:
Serializable

public class EntryNotInSpaceException
extends DetailedUnusableEntryException

This exception is thrown when update operation is rejected. The entry specified by the UID is not in the space - it was not found or has been deleted

Version:
3.0
Author:
Yechiel
See Also:
Serialized Form

Field Summary
 
Fields inherited from class net.jini.core.entry.UnusableEntryException
nestedExceptions, partialEntry, unusableFields
 
Constructor Summary
EntryNotInSpaceException(String uid, String spaceName, boolean deletedByOwnTx)
          Constructor.
 
Method Summary
 String getMessage()
          
 String getUID()
          Returns Entry UID.
 boolean isDeletedByOwnTxn()
          Check if deleted in the same transaction.
 
Methods inherited from class net.jini.core.entry.UnusableEntryException
printStackTrace, printStackTrace, printStackTrace
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

EntryNotInSpaceException

public EntryNotInSpaceException(String uid,
                                String spaceName,
                                boolean deletedByOwnTx)
Constructor.

Parameters:
uid - unique ID of the entry
spaceName - the name of the space that throws this exception
deletedByOwnTx - true if deleted in the same transaction
Method Detail

getUID

public String getUID()
Returns Entry UID.

Returns:
unique ID of the entry that caused this exception

isDeletedByOwnTxn

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

Returns:
true if deleted by the same transaction

getMessage

public String getMessage()

Overrides:
getMessage in class DetailedUnusableEntryException

GigaSpaces XAP 7.0 API

Copyright © GigaSpaces.