GigaSpaces XAP 9.5 API

org.openspaces.core
Class TakeMultipleException

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.QueryMultiplePartialFailureException
                                  extended by org.openspaces.core.TakeMultipleException
All Implemented Interfaces:
Serializable

public class TakeMultipleException
extends QueryMultiplePartialFailureException

Thrown when a takeMultiple space operations 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 cause, ExceptionTranslator exceptionTranslator)
           
 
Method Summary
 Throwable[] getCauses()
          Returns the exceptions raised from the cluster members that were not available.
 Object[] getResults()
          Returnst the results from the cluster members that were available.
 
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

TakeMultipleException

public TakeMultipleException(TakeMultipleException cause,
                             ExceptionTranslator exceptionTranslator)
Parameters:
cause -
exceptionTranslator -
Method Detail

getCauses

public Throwable[] getCauses()
Description copied from class: QueryMultiplePartialFailureException
Returns the exceptions raised from the cluster members that were not available.

Overrides:
getCauses in class QueryMultiplePartialFailureException

getResults

public Object[] getResults()
Description copied from class: QueryMultiplePartialFailureException
Returnst the results from the cluster members that were available.

Overrides:
getResults in class QueryMultiplePartialFailureException

GigaSpaces XAP 9.5 API

Copyright © GigaSpaces.