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:
- Externalizable, Serializable
public class TakeMultipleException
- extends com.gigaspaces.internal.exceptions.BatchQueryException
Thrown when a space takeMultiple operation fails.
Thrown on:
- Partial and complete failure.
- Cluster/single space topologies.
- SQLQueries/Templates.
At space level - the failure is fail-fast - once an operation on an object failed - exception is returned immediately and no other objects are processed.
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:
- Serialized Form
Methods inherited from class com.gigaspaces.internal.exceptions.BatchQueryException |
containsCause, getCauses, getMajorityCause, getMessage, getOriginalMajorityCause, getResults, readExternal, setResults, writeExternal |
TakeMultipleException
public TakeMultipleException()
TakeMultipleException
public TakeMultipleException(List<?> results,
List<Throwable> exceptions)
TakeMultipleException
public TakeMultipleException(Object[] results,
List<Throwable> causes)
TakeMultipleException
public TakeMultipleException(Throwable cause)
Copyright © GigaSpaces.