GigaSpaces XAP 9.7.2 API

org.openspaces.core
Class WriteMultipleException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.springframework.core.NestedRuntimeException
                  extended by org.springframework.dao.DataAccessException
                      extended by org.springframework.dao.NonTransientDataAccessException
                          extended by org.springframework.dao.InvalidDataAccessResourceUsageException
                              extended by org.openspaces.core.WriteMultiplePartialFailureException
                                  extended by org.openspaces.core.WriteMultipleException
All Implemented Interfaces:
Serializable

public class WriteMultipleException
extends WriteMultiplePartialFailureException

Thrown when writeMultiple operation fails.

Thrown on:

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:
Serialized Form

Constructor Summary
WriteMultipleException(WriteMultipleException cause, ExceptionTranslator exceptionTranslator)
           
 
Method Summary
 WriteMultipleException.IWriteResult[] getResults()
           
 
Methods inherited from class org.springframework.core.NestedRuntimeException
contains, getMessage, getMostSpecificCause, getRootCause
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

WriteMultipleException

public WriteMultipleException(WriteMultipleException cause,
                              ExceptionTranslator exceptionTranslator)
Method Detail

getResults

public WriteMultipleException.IWriteResult[] getResults()
Overrides:
getResults in class WriteMultiplePartialFailureException
Returns:
an array of IResult objects.

GigaSpaces XAP 9.7.2 API

Copyright © GigaSpaces.