GigaSpaces XAP 9.7.2 API

org.openspaces.core
Class QueryMultiplePartialFailureException

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
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
ClearException, ReadMultipleException, TakeMultipleException

Deprecated. since 7.1. Use operation specific exception ReadMultipleException,TakeMultipleException or ClearException

public class QueryMultiplePartialFailureException
extends InvalidDataAccessResourceUsageException

Thrown when not all of the requested number of entries are returned and one or more cluster members returned with exception.
QueryMultiplePartialFailureException contains both the entries that were successfully returned and the exceptions that occurred during operation execution.

In order to disable this behavior, the following modifier should be passed ReadModifiers.IGNORE_PARTIAL_FAILURE to either GigaSpace.readMultiple(Object, int, int) or.

Author:
kimchy
See Also:
Serialized Form

Constructor Summary
QueryMultiplePartialFailureException(com.gigaspaces.internal.exceptions.BatchQueryException cause, ExceptionTranslator exceptionTranslator)
          Deprecated.  
 
Method Summary
 Throwable[] getCauses()
          Deprecated. Returns the exceptions raised from the cluster members that were not available.
 Object[] getResults()
          Deprecated. 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

QueryMultiplePartialFailureException

public QueryMultiplePartialFailureException(com.gigaspaces.internal.exceptions.BatchQueryException cause,
                                            ExceptionTranslator exceptionTranslator)
Deprecated. 
Method Detail

getResults

public Object[] getResults()
Deprecated. 
Returnst the results from the cluster members that were available.


getCauses

public Throwable[] getCauses()
Deprecated. 
Returns the exceptions raised from the cluster members that were not available.


GigaSpaces XAP 9.7.2 API

Copyright © GigaSpaces.