Class EsfPartialSuccessException

  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.eurotech.framework.EsfException
              extended by com.eurotech.framework.EsfPartialSuccessException
All Implemented Interfaces:

public class EsfPartialSuccessException
extends EsfException

EsfPartialSuccessException is used capture the response of bulk operations which allow for the failures of some of their steps. EsfPartialSuccessException.getCauses() will return the exceptions collected during operations for those steps that failed.

See Also:
Serialized Form

Field Summary
Fields inherited from class com.eurotech.framework.EsfException
Constructor Summary
EsfPartialSuccessException(String message, List<Throwable> causes)
Method Summary
 List<Throwable> getCauses()
          Returns the list of failures collected during the execution of the bulk operation.
Methods inherited from class com.eurotech.framework.EsfException
getCode, getLocalizedMessage, getMessage, internalError, internalError, internalError
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, 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


public EsfPartialSuccessException(String message,
                                  List<Throwable> causes)
Method Detail


public List<Throwable> getCauses()
Returns the list of failures collected during the execution of the bulk operation.


Copyright © 2013. All Rights Reserved.