An array of entries that were successfully read or take.
 
 Replaced QueryMultiplePartialFailureException.
  
- Since:
 
  - 7.1
 
- Author:
 
  - anna
 
- See Also:
 - Serialized Form
 
 
 
 
 
 
BatchOperationException
public BatchOperationException()
BatchOperationException
public BatchOperationException(List results,
                               List<Throwable> exceptions)
- Parameters:
 results - exceptions - 
BatchOperationException
public BatchOperationException(Object[] results,
                               Throwable[] causes)
- Parameters:
 results - causes - 
clearResults
public void clearResults()
 
 
getMajorityCause
public Throwable getMajorityCause()
- Return the main cause for this exception
 
- Returns:
 - the main cause.
 
 
 
getOriginalMajorityCause
public Throwable getOriginalMajorityCause()
- Return the original majority cause for this exception
 
- Returns:
 - the main cause.
 
 
 
containsCause
public boolean containsCause(Class<? extends Throwable> exceptionClass)
 
- Parameters:
 exceptionClass - 
- Returns:
 - true if given exception class is a direct cause of this exception
 
 
getMessage
public String getMessage()
- Overrides:
 getMessage in class Throwable
 
 
readExternal
public void readExternal(ObjectInput in)
                  throws IOException,
                         ClassNotFoundException
- Specified by:
 readExternal in interface Externalizable
 
- Throws:
 IOException
ClassNotFoundException
 
writeExternal
public void writeExternal(ObjectOutput out)
                   throws IOException
- Specified by:
 writeExternal in interface Externalizable
 
- Throws:
 IOException
 
Copyright © GigaSpaces.