GigaSpaces XAP 9.7.2 API

org.openspaces.core
Class ReadByIdsException

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.ReadByIdsException
All Implemented Interfaces:
Serializable

public class ReadByIdsException
extends InvalidDataAccessResourceUsageException

Thrown when readByIds operation fails.

Thrown on:

The exception contains an array of ReadByIdResult 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 ReadByIdsException.ReadByIdResult
          Holds a ReadByIdsException result.
 
Constructor Summary
ReadByIdsException(ReadByIdsException cause, ExceptionTranslator exceptionTranslator)
           
 
Method Summary
 ReadByIdsException.ReadByIdResult[] 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

ReadByIdsException

public ReadByIdsException(ReadByIdsException cause,
                          ExceptionTranslator exceptionTranslator)
Method Detail

getResults

public ReadByIdsException.ReadByIdResult[] getResults()
Returns the results contained in the exception.

Returns:
An array of ReadByIdResult objects.

GigaSpaces XAP 9.7.2 API

Copyright © GigaSpaces.