Package org.openspaces.core
Class ChangeException
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.ChangeException
- All Implemented Interfaces:
Serializable
public class ChangeException
extends org.springframework.dao.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:
-
Constructor Summary
ConstructorsConstructorDescriptionChangeException(ChangeException changeException, ExceptionTranslator exceptionTranslator) -
Method Summary
Modifier and TypeMethodDescriptionReturns the failed changes.Returns the entries that failed to change result.intReturns the number of successful changes.Returns the successfully done changes.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
-
ChangeException
-
-
Method Details
-
getSuccesfullChanges
Returns the successfully done changes. -
getNumSuccesfullChanges
public int getNumSuccesfullChanges()Returns the number of successful changes. -
getFailedChanges
Returns the entries that failed to change result. -
getErrors
Returns the failed changes.
-