org.openspaces.core
Class TakeByIdsException.TakeByIdResult
java.lang.Object
  
org.openspaces.core.TakeByIdsException.TakeByIdResult
- Enclosing class:
 - TakeByIdsException
 
public static class TakeByIdsException.TakeByIdResult
- extends Object
 
Holds a TakeByIdsException 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 | 
 
TakeByIdsException.TakeByIdResult
protected TakeByIdsException.TakeByIdResult(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 TakeByIdsException.TakeByIdResult.TakeByIdResultType getResultType()
- Returns:
 - This result's object type.
 
 
Copyright © GigaSpaces.