org.openspaces.core
Class ReadByIdsException.ReadByIdResult
java.lang.Object
org.openspaces.core.ReadByIdsException.ReadByIdResult
- Enclosing class:
- ReadByIdsException
public static class ReadByIdsException.ReadByIdResult
- extends Object
Holds a ReadByIdsException result.
The result contains the object's Id, the result type, the read object and the thrown exception.
- Since:
- 7.1.1
- Author:
- idan
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ReadByIdsException.ReadByIdResult
protected ReadByIdsException.ReadByIdResult(com.gigaspaces.client.ReadTakeByIdResult result,
ExceptionTranslator exceptionTranslator)
getError
public Throwable getError()
- Returns:
- On error returns the exception that occurred, otherwise null.
getId
public Object getId()
- Returns:
- The object Id this result is relevant for.
getObject
public Object getObject()
- Returns:
- The read object for this result or null if no object was found or an exception occurred.
isError
public boolean isError()
- Returns:
- True if an exception is associated with this result.
getResultType
public ReadByIdsException.ReadByIdResult.ReadByIdResultType getResultType()
- Returns:
- This result's object type.
Copyright © GigaSpaces.