Package com.gigaspaces.client
Class ChangeException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.gigaspaces.client.ChangeException
- All Implemented Interfaces:
Serializable
Thrown when any error occurred when trying to perform change of entries
- Since:
- 9.1
- Author:
- eitany
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionChangeException(String message, int numChangedEntries, Collection<FailedChangedEntryDetails> entriesFailedToChange, Collection<Throwable> errors) ChangeException(String message, Collection<ChangedEntryDetails<?>> changedEntries, Collection<FailedChangedEntryDetails> entriesFailedToChange, Collection<Throwable> errors) -
Method Summary
Modifier and TypeMethodDescriptionReturn any general errors occurred which are not associated to a specific entry that were being changed.Returns the failed changes.intReturns the number of successfully changes.Returns the successfully done changes.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ChangeException
public ChangeException() -
ChangeException
public ChangeException(String message, Collection<ChangedEntryDetails<?>> changedEntries, Collection<FailedChangedEntryDetails> entriesFailedToChange, Collection<Throwable> errors) -
ChangeException
public ChangeException(String message, int numChangedEntries, Collection<FailedChangedEntryDetails> entriesFailedToChange, Collection<Throwable> errors)
-
-
Method Details
-
getSuccesfullChanges
Returns the successfully done changes. -
getNumSuccesfullChanges
public int getNumSuccesfullChanges()Returns the number of successfully changes. -
getFailedChanges
Returns the failed changes. -
getErrors
Return any general errors occurred which are not associated to a specific entry that were being changed.
-