org.openspaces.core
Class ReadByIdsException
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.ReadByIdsException
- All Implemented Interfaces:
- Serializable
public class ReadByIdsException
- extends InvalidDataAccessResourceUsageException
Thrown when readByIds operation fails.
Thrown on:
- Partial and complete failure.
- Cluster/single space topologies.
The exception contains an array of ReadByIdResult 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
ReadByIdsException
public ReadByIdsException(ReadByIdsException cause,
ExceptionTranslator exceptionTranslator)
getResults
public ReadByIdsException.ReadByIdResult[] getResults()
- Returns the results contained in the exception.
- Returns:
- An array of ReadByIdResult objects.
Copyright © GigaSpaces.