GigaSpaces XAP 9.7.2 API

com.gigaspaces.client
Class ChangeException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by com.gigaspaces.client.ChangeException
All Implemented Interfaces:
Serializable

public class ChangeException
extends RuntimeException

Thrown when any error occurred when trying to perform change of entries

Since:
9.1
Author:
eitany
See Also:
Serialized Form

Constructor Summary
ChangeException()
           
ChangeException(String message, Collection<ChangedEntryDetails<?>> changedEntries, Collection<FailedChangedEntryDetails> entriesFailedToChange, Collection<Throwable> errors)
           
ChangeException(String message, int numChangedEntries, Collection<FailedChangedEntryDetails> entriesFailedToChange, Collection<Throwable> errors)
           
 
Method Summary
 Collection<Throwable> getErrors()
          Return any general errors occurred which are not associated to a specific entry that were being changed.
 Collection<FailedChangedEntryDetails> getFailedChanges()
          Returns the failed changes.
 int getNumSuccesfullChanges()
          Returns the number of successfully changes.
 Collection<ChangedEntryDetails<?>> getSuccesfullChanges()
          Returns the successfully done changes.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, 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

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 Detail

getSuccesfullChanges

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


getNumSuccesfullChanges

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


getFailedChanges

public Collection<FailedChangedEntryDetails> getFailedChanges()
Returns the failed changes.


getErrors

public Collection<Throwable> getErrors()
Return any general errors occurred which are not associated to a specific entry that were being changed.


GigaSpaces XAP 9.7.2 API

Copyright © GigaSpaces.