public class BatchOperationException extends QueryMultiplePartialFailureException implements Externalizable
Thrown on:
The exception contains:
QueryMultiplePartialFailureException
.
Constructor and Description |
---|
BatchOperationException() |
BatchOperationException(List results,
List<Throwable> exceptions) |
BatchOperationException(Object[] results,
Throwable[] causes) |
Modifier and Type | Method and Description |
---|---|
void |
clearResults() |
boolean |
containsCause(Class<? extends Throwable> exceptionClass) |
Throwable |
getMajorityCause()
Return the main cause for this exception
|
String |
getMessage() |
Throwable |
getOriginalMajorityCause()
Return the original majority cause for this exception
|
void |
readExternal(ObjectInput in) |
void |
writeExternal(ObjectOutput out) |
getCauses, getResults, setCauses, setResults
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public BatchOperationException()
public BatchOperationException(List results, List<Throwable> exceptions)
results
- exceptions
- public void clearResults()
public Throwable getMajorityCause()
public Throwable getOriginalMajorityCause()
public boolean containsCause(Class<? extends Throwable> exceptionClass)
exceptionClass
- public String getMessage()
getMessage
in class Throwable
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
IOException
ClassNotFoundException
public void writeExternal(ObjectOutput out) throws IOException
writeExternal
in interface Externalizable
IOException
Copyright © GigaSpaces.