public class TakeByIdsException
extends org.springframework.dao.InvalidDataAccessResourceUsageException
Thrown on:
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.
Modifier and Type | Class and Description |
---|---|
static class |
TakeByIdsException.TakeByIdResult
Holds a TakeByIdsException result.
|
Constructor and Description |
---|
TakeByIdsException(TakeByIdsException cause,
ExceptionTranslator exceptionTranslator) |
Modifier and Type | Method and Description |
---|---|
TakeByIdsException.TakeByIdResult[] |
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 TakeByIdsException(TakeByIdsException cause, ExceptionTranslator exceptionTranslator)
public TakeByIdsException.TakeByIdResult[] getResults()
Copyright © GigaSpaces.