|
GigaSpaces XAP 7.1 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.j_spaces.core.multiple.query.QueryMultiplePartialFailureException
com.j_spaces.core.multiple.BatchOperationException
public class BatchOperationException
Thrown when one of the following space operations fails: readMultiple,takeMultiple,clear.
Thrown on:
The exception contains:
QueryMultiplePartialFailureException
.
Field Summary |
---|
Fields inherited from class com.j_spaces.core.multiple.query.QueryMultiplePartialFailureException |
---|
_causes, _results |
Constructor Summary | |
---|---|
BatchOperationException()
|
|
BatchOperationException(List results,
List<Throwable> exceptions)
|
|
BatchOperationException(Object[] results,
Throwable[] causes)
|
Method Summary | |
---|---|
void |
clearResults()
|
boolean |
containsCause(Class<? extends Throwable> exceptionClass)
Returns true if given exception class is a direct cause of this exception |
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)
|
Methods inherited from class com.j_spaces.core.multiple.query.QueryMultiplePartialFailureException |
---|
getCauses, getResults, setResults |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, 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 |
---|
public BatchOperationException()
public BatchOperationException(List results, List<Throwable> exceptions)
results
- exceptions
- public BatchOperationException(Object[] results, Throwable[] causes)
results
- causes
- Method Detail |
---|
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
|
GigaSpaces XAP 7.1 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |