org.openspaces.core
Class QueryMultiplePartialFailureException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.springframework.core.NestedRuntimeException
org.springframework.dao.DataAccessException
org.springframework.dao.NonTransientDataAccessException
org.springframework.dao.InvalidDataAccessResourceUsageException
org.openspaces.core.QueryMultiplePartialFailureException
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- ClearException, ReadMultipleException, TakeMultipleException
Deprecated. since 7.1. Use operation specific exception ReadMultipleException
,TakeMultipleException
or ClearException
public class QueryMultiplePartialFailureException
- extends InvalidDataAccessResourceUsageException
Thrown when not all of the requested number of entries are returned and one or more cluster members returned with exception.
QueryMultiplePartialFailureException contains both the entries that were successfully returned and the exceptions that occurred during operation execution.
In order to disable this behavior, the following modifier should be passed ReadModifiers.IGNORE_PARTIAL_FAILURE
to either GigaSpace.readMultiple(Object, int, int)
or.
- Author:
- kimchy
- See Also:
- Serialized Form
Method Summary |
Throwable[] |
getCauses()
Deprecated. Returns the exceptions raised from the cluster members that were not available. |
Object[] |
getResults()
Deprecated. Returnst the results from the cluster members that were available. |
QueryMultiplePartialFailureException
public QueryMultiplePartialFailureException(com.gigaspaces.internal.exceptions.BatchQueryException cause,
ExceptionTranslator exceptionTranslator)
- Deprecated.
getResults
public Object[] getResults()
- Deprecated.
- Returnst the results from the cluster members that were available.
getCauses
public Throwable[] getCauses()
- Deprecated.
- Returns the exceptions raised from the cluster members that were not available.
Copyright © GigaSpaces.