GigaSpaces XAP 10.0.1 API

org.openspaces.core
Class TakeByIdsException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.springframework.core.NestedRuntimeException
                  extended by org.springframework.dao.DataAccessException
                      extended by org.springframework.dao.NonTransientDataAccessException
                          extended by org.springframework.dao.InvalidDataAccessResourceUsageException
                              extended by org.openspaces.core.TakeByIdsException
All Implemented Interfaces:
Serializable

public class TakeByIdsException
extends InvalidDataAccessResourceUsageException

Thrown when takeByIds operation fails.

Thrown on:

The exception contains an array of ITakeByIdResult objects where each result in the array contains either a read object or an exception upon failure. The result array index corresponds to the ID index in the operation's supplied IDs array.

Since:
7.1.1
Author:
idan
See Also:
Serialized Form

Nested Class Summary
static class TakeByIdsException.TakeByIdResult
          Holds a TakeByIdsException result.
 
Constructor Summary
TakeByIdsException(TakeByIdsException cause, ExceptionTranslator exceptionTranslator)
           
 
Method Summary
 TakeByIdsException.TakeByIdResult[] getResults()
          Returns the results contained in the exception.
 
Methods inherited from class org.springframework.core.NestedRuntimeException
contains, getMessage, getMostSpecificCause, getRootCause
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TakeByIdsException

public TakeByIdsException(TakeByIdsException cause,
                          ExceptionTranslator exceptionTranslator)
Method Detail

getResults

public TakeByIdsException.TakeByIdResult[] getResults()
Returns the results contained in the exception.

Returns:
An array of TakeByIdResult objects.

GigaSpaces XAP 10.0.1 API

Copyright © GigaSpaces.