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 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:
- Serialized Form
TakeByIdsException
public TakeByIdsException(TakeByIdsException cause,
ExceptionTranslator exceptionTranslator)
getResults
public TakeByIdsException.TakeByIdResult[] getResults()
- Returns the results contained in the exception.
- Returns:
- An array of TakeByIdResult objects.
Copyright © GigaSpaces.