Package org.openspaces.core
Class WriteMultipleException
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.WriteMultiplePartialFailureException
org.openspaces.core.WriteMultipleException
- All Implemented Interfaces:
Serializable
Thrown when writeMultiple operation fails.
Thrown on:
- Partial and complete failure.
- Cluster/single space topologies.
The exception contains an array of write results where each result in the array is either a lease or an exception upon failure, the result index corresponds to the entry index in the array of entries which are being written/updated.
Replaced WriteMultiplePartialFailureException.
- Since:
- 7.1
- Author:
- eitany
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionWriteMultipleException(WriteMultipleException cause, ExceptionTranslator exceptionTranslator) -
Method Summary
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
-
WriteMultipleException
public WriteMultipleException(WriteMultipleException cause, ExceptionTranslator exceptionTranslator)
-
-
Method Details
-
getResults
- Overrides:
getResultsin classWriteMultiplePartialFailureException- Returns:
- an array of IResult objects.
-