com.j_spaces.core.multiple.query
Class QueryMultiplePartialFailureException
java.lang.Object
  
java.lang.Throwable
      
java.lang.Exception
          
java.lang.RuntimeException
              
com.j_spaces.core.multiple.query.QueryMultiplePartialFailureException
- All Implemented Interfaces: 
 - Serializable
 
public class QueryMultiplePartialFailureException
- extends RuntimeException
 
Thrown when read/take multiple is called and and the max limit can't be satisfied 
 because part of the cluster is not avaliable.
- Since:
 
  - 6.6
 
- See Also:
 - Serialized Form
 
 
 
| Methods inherited from class java.lang.Throwable | 
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString | 
 
 
QueryMultiplePartialFailureException
public QueryMultiplePartialFailureException(Object[] results,
                                            Throwable[] causes)
- Parameters:
 results - array of results values to be sent to user.
QueryMultiplePartialFailureException
public QueryMultiplePartialFailureException(List results,
                                            List<Throwable> exceptions)
getResults
public Object[] getResults()
- Return the partial results
- Returns:
 - the results that are kept by this object.
 
 
 
setResults
public void setResults(Object[] results)
- Parameters:
 results - the results to set
 
getCauses
public Throwable[] getCauses()
- Return all the causes that caused this exception
- Returns:
 - the causes of this Exception.