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, setResultsaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic 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)
public String getMessage()
getMessage in class Throwablepublic void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal in interface ExternalizableIOExceptionClassNotFoundExceptionpublic void writeExternal(ObjectOutput out) throws IOException
writeExternal in interface ExternalizableIOExceptionCopyright © GigaSpaces.