GigaSpaces XAP 9.7.2 API

com.j_spaces.core.multiple.query
Class QueryMultiplePartialFailureException

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
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
BatchOperationException, com.gigaspaces.internal.exceptions.BatchQueryException

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

public class QueryMultiplePartialFailureException
extends RuntimeException

Thrown when read/take multiple is called and and the max limit can't be satisfied.

Since:
7.1 this exception is thrown on any partial failure instead of only when part of the cluster is not avaliable., 6.6
Author:
GuyK
See Also:
Serialized Form

Constructor Summary
QueryMultiplePartialFailureException()
          Deprecated.  
 
Method Summary
 Throwable[] getCauses()
          Deprecated. Return all the causes that caused this exception
 Object[] getResults()
          Deprecated. Return the partial results
protected  void setCauses(Throwable[] causes)
          Deprecated.  
 void setResults(Object[] results)
          Deprecated.  
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, 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()
Deprecated. 
Method Detail

getResults

public Object[] getResults()
Deprecated. 
Return the partial results

Returns:
the results that are kept by this object.

setResults

public void setResults(Object[] results)
Deprecated. 
Parameters:
results - the results to set

getCauses

public Throwable[] getCauses()
Deprecated. 
Return all the causes that caused this exception

Returns:
the causes of this Exception.

setCauses

protected void setCauses(Throwable[] causes)
Deprecated. 

GigaSpaces XAP 9.7.2 API

Copyright © GigaSpaces.