GigaSpaces XAP 9.7.2 API

org.openspaces.core
Class ChangeException

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.ChangeException
All Implemented Interfaces:
Serializable

public class ChangeException
extends InvalidDataAccessResourceUsageException

Thrown when an error occurred while performing a GigaSpace#change(com.gigaspaces.query.IdQuery, com.gigaspaces.client.ChangeSet, com.gigaspaces.client.ChangeModifiers, long) operation.

Since:
9.1
Author:
eitany
See Also:
Serialized Form

Constructor Summary
ChangeException(ChangeException changeException, ExceptionTranslator exceptionTranslator)
           
 
Method Summary
 Collection<Throwable> getErrors()
          Returns the failed changes.
 Collection<FailedChangedEntryDetails> getFailedChanges()
          Returns the entries that failed to change result.
 int getNumSuccesfullChanges()
          Returns the number of successful changes.
 Collection<ChangedEntryDetails<?>> getSuccesfullChanges()
          Returns the successfully done changes.
 
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

ChangeException

public ChangeException(ChangeException changeException,
                       ExceptionTranslator exceptionTranslator)
Method Detail

getSuccesfullChanges

public Collection<ChangedEntryDetails<?>> getSuccesfullChanges()
Returns the successfully done changes.


getNumSuccesfullChanges

public int getNumSuccesfullChanges()
Returns the number of successful changes.


getFailedChanges

public Collection<FailedChangedEntryDetails> getFailedChanges()
Returns the entries that failed to change result.


getErrors

public Collection<Throwable> getErrors()
Returns the failed changes.


GigaSpaces XAP 9.7.2 API

Copyright © GigaSpaces.