Package 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
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:
-
Field Summary
Fields inherited from class net.jini.core.entry.UnusableEntryException
nestedExceptions, partialEntry, unusableFields -
Constructor Summary
ConstructorsConstructorDescriptionEntryNotInSpaceException(String uid, String spaceName, boolean deletedByOwnTx) Constructor. -
Method Summary
Modifier and TypeMethodDescriptiongetUID()Returns Entry UID.booleanCheck if deleted in the same transaction.Methods inherited from class net.jini.core.entry.UnusableEntryException
printStackTrace, printStackTrace, printStackTraceMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, setStackTrace, toString
-
Constructor Details
-
EntryNotInSpaceException
Constructor.- Parameters:
uid- unique ID of the entryspaceName- the name of the space that throws this exceptiondeletedByOwnTx-trueif deleted in the same transaction
-
-
Method Details
-
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:
trueif deleted by the same transaction
-
getMessage
- Overrides:
getMessagein classDetailedUnusableEntryException
-