public class ReadByIdsException extends InvalidDataAccessResourceUsageException
Thrown on:
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.
Modifier and Type | Class and Description |
---|---|
static class |
ReadByIdsException.ReadByIdResult
Holds a ReadByIdsException result.
|
Constructor and Description |
---|
ReadByIdsException(ReadByIdsException cause,
ExceptionTranslator exceptionTranslator) |
Modifier and Type | Method and Description |
---|---|
ReadByIdsException.ReadByIdResult[] |
getResults()
Returns the results contained in the exception.
|
contains, getMessage, getMostSpecificCause, getRootCause
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public ReadByIdsException(ReadByIdsException cause, ExceptionTranslator exceptionTranslator)
public ReadByIdsException.ReadByIdResult[] getResults()
Copyright © GigaSpaces.