com.j_spaces.core.client
Class EntryNotInSpaceException
java.lang.Object
java.lang.Throwable
java.lang.Exception
net.jini.core.entry.UnusableEntryException
com.j_spaces.core.DetailedUnusableEntryException
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
EntryNotInSpaceException
public EntryNotInSpaceException(String uid,
String spaceName,
boolean deletedByOwnTx)
- Constructor.
- Parameters:
uid
- unique ID of the entryspaceName
- the name of the space that throws this exceptiondeletedByOwnTx
- true
if deleted in the same transaction
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
Copyright © GigaSpaces.