Package org.openspaces.core
Class TakeByIdsException
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.TakeByIdsException
- All Implemented Interfaces:
Serializable
public class TakeByIdsException
extends org.springframework.dao.InvalidDataAccessResourceUsageException
Thrown when takeByIds operation fails.
Thrown on:
- Partial and complete failure.
- Cluster/single space topologies.
The exception contains an array of ITakeByIdResult objects where each result in the array contains either a read object or an exception upon failure. The result array index corresponds to the ID index in the operation's supplied IDs array.
- Since:
- 7.1.1
- Author:
- idan
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classHolds a TakeByIdsException result. -
Constructor Summary
ConstructorsConstructorDescriptionTakeByIdsException(TakeByIdsException cause, ExceptionTranslator exceptionTranslator) -
Method Summary
Modifier and TypeMethodDescriptionReturns the results contained in the exception.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
-
TakeByIdsException
-
-
Method Details
-
getResults
Returns the results contained in the exception.- Returns:
- An array of TakeByIdResult objects.
-