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
public class QueryMultiplePartialFailureException
- extends InvalidDataAccessResourceUsageException
Thrown when not all of the requested number of entries are returned and one or more cluster members are not available.
In order to enable this behavior, the following modifier should be passed ReadModifiers.THROW_PARTIAL_FAILURE
to either GigaSpace.readMultiple(Object, int, int)
or.
- Author:
- kimchy
- See Also:
- Serialized Form
Method Summary |
Throwable[] |
getCauses()
Returns the exceptions raised from the cluster members that were not available. |
Object |
getResults()
Returnst the results from the cluster members that were available. |
QueryMultiplePartialFailureException
public QueryMultiplePartialFailureException(com.j_spaces.core.multiple.query.QueryMultiplePartialFailureException cause,
ExceptionTranslator exceptionTranslator)
getResults
public Object getResults()
- Returnst the results from the cluster members that were available.
getCauses
public Throwable[] getCauses()
- Returns the exceptions raised from the cluster members that were not available.
Copyright © GigaSpaces.