GigaSpaces XAP 9.7.2 API

com.gigaspaces.client
Class ReadMultipleException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by com.j_spaces.core.multiple.query.QueryMultiplePartialFailureException
                  extended by com.gigaspaces.internal.exceptions.BatchQueryException
                      extended by com.gigaspaces.client.ReadMultipleException
All Implemented Interfaces:
Externalizable, Serializable

public class ReadMultipleException
extends com.gigaspaces.internal.exceptions.BatchQueryException

Thrown when a space readMultiple operation fails.

Thrown on:

At space level - the failure is fail-fast - once an operation on an object failed - exception is returned immediately and no other objects are processed.

At cluster level - if one of operation target spaces fails, first completion of the operation on other spaces is done. Then the aggregated exception is thrown.

The exception contains:

Replaced QueryMultiplePartialFailureException.

Since:
7.1
Author:
anna
See Also:
Serialized Form

Constructor Summary
ReadMultipleException()
           
ReadMultipleException(List<?> results, List<Throwable> exceptions)
           
ReadMultipleException(Object[] results, List<Throwable> exceptions)
           
ReadMultipleException(Throwable cause)
           
 
Method Summary
 
Methods inherited from class com.gigaspaces.internal.exceptions.BatchQueryException
containsCause, getCauses, getMajorityCause, getMessage, getOriginalMajorityCause, getResults, readExternal, setResults, writeExternal
 
Methods inherited from class com.j_spaces.core.multiple.query.QueryMultiplePartialFailureException
setCauses
 
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

ReadMultipleException

public ReadMultipleException()

ReadMultipleException

public ReadMultipleException(List<?> results,
                             List<Throwable> exceptions)

ReadMultipleException

public ReadMultipleException(Throwable cause)

ReadMultipleException

public ReadMultipleException(Object[] results,
                             List<Throwable> exceptions)

GigaSpaces XAP 9.7.2 API

Copyright © GigaSpaces.