Package 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
public class QueryMultiplePartialFailureException
extends org.springframework.dao.InvalidDataAccessResourceUsageException
Deprecated.
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.
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, com.gigaspaces.client.ReadModifiers) or.
- Author:
- kimchy
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionQueryMultiplePartialFailureException(BatchQueryException cause, ExceptionTranslator exceptionTranslator) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Returns the exceptions raised from the cluster members that were not available.Object[]Deprecated.Returnst the results from the cluster members that were available.Methods inherited from class org.springframework.core.NestedRuntimeException
contains, getMostSpecificCause, getRootCauseMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
QueryMultiplePartialFailureException
public QueryMultiplePartialFailureException(BatchQueryException cause, ExceptionTranslator exceptionTranslator) Deprecated.
-
-
Method Details
-
getResults
Deprecated.Returnst the results from the cluster members that were available. -
getCauses
Deprecated.Returns the exceptions raised from the cluster members that were not available.
-
ReadMultipleException,TakeMultipleExceptionorClearException