Package com.gigaspaces.client
Class TakeMultipleException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.j_spaces.core.multiple.query.QueryMultiplePartialFailureException
com.gigaspaces.internal.exceptions.BatchQueryException
com.gigaspaces.client.TakeMultipleException
- All Implemented Interfaces:
SmartExternalizable,Externalizable,Serializable
Thrown when a space takeMultiple operation fails.
At cluster level - if one of operation target spaces fails, first completion of the operation on other spaces is done. Then the aggregated exception is thrown.
Thrown on:
- Partial and complete failure.
- Cluster/single space topologies.
- SQLQueries/Templates.
At cluster level - if one of operation target spaces fails, first completion of the operation on other spaces is done. Then the aggregated exception is thrown.
The exception contains:
- An array of exceptions that caused it. One exception per each space that failed.
- An array of entries that were successfully taken.
Replaced QueryMultiplePartialFailureException.
- Since:
- 7.1
- Author:
- anna
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionTakeMultipleException(Object[] results, List<Throwable> causes) TakeMultipleException(Throwable cause) TakeMultipleException(List<?> results, List<Throwable> exceptions) -
Method Summary
Methods inherited from class com.gigaspaces.internal.exceptions.BatchQueryException
containsCause, getCauses, getMajorityCause, getMessage, getOriginalMajorityCause, getResults, readExternal, setResults, writeExternalMethods inherited from class com.j_spaces.core.multiple.query.QueryMultiplePartialFailureException
setCausesMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.gigaspaces.serialization.SmartExternalizable
enabledSmartExternalizableWithReference
-
Constructor Details
-
TakeMultipleException
public TakeMultipleException() -
TakeMultipleException
-
TakeMultipleException
-
TakeMultipleException
-