com.eurotech.framework
Class EsfPartialSuccessException

java.lang.Object
  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:
Serializable

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
m_code
 
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

EsfPartialSuccessException

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

getCauses

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

Returns:
causes


Copyright © 2013. All Rights Reserved.