org.broadleafcommerce.core.workflow.state.test
Class TestPassThroughRollbackErrorHandler

java.lang.Object
  extended by org.broadleafcommerce.core.workflow.state.test.TestPassThroughRollbackErrorHandler
All Implemented Interfaces:
ErrorHandler, org.springframework.beans.factory.Aware, org.springframework.beans.factory.BeanNameAware

public class TestPassThroughRollbackErrorHandler
extends Object
implements ErrorHandler

Add an ErrorHandler that does nothing and does not stop the workflow

Author:
Jeff Fischer

Constructor Summary
TestPassThroughRollbackErrorHandler()
           
 
Method Summary
 void handleError(ProcessContext context, Throwable th)
           
 void setBeanName(String name)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestPassThroughRollbackErrorHandler

public TestPassThroughRollbackErrorHandler()
Method Detail

handleError

public void handleError(ProcessContext context,
                        Throwable th)
                 throws WorkflowException
Specified by:
handleError in interface ErrorHandler
Throws:
WorkflowException

setBeanName

public void setBeanName(String name)
Specified by:
setBeanName in interface org.springframework.beans.factory.BeanNameAware


Copyright © 2013. All Rights Reserved.