GigaSpaces XAP 9.7.2 API

com.gigaspaces.client
Class TakeMultipleException

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.TakeMultipleException
All Implemented Interfaces:
Externalizable, Serializable

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

Thrown when a space takeMultiple 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
TakeMultipleException()
           
TakeMultipleException(List<?> results, List<Throwable> exceptions)
           
TakeMultipleException(Object[] results, List<Throwable> causes)
           
TakeMultipleException(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

TakeMultipleException

public TakeMultipleException()

TakeMultipleException

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

TakeMultipleException

public TakeMultipleException(Object[] results,
                             List<Throwable> causes)

TakeMultipleException

public TakeMultipleException(Throwable cause)

GigaSpaces XAP 9.7.2 API

Copyright © GigaSpaces.