Class TestPassThroughRollbackErrorHandler

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

public class TestPassThroughRollbackErrorHandler extends Object implements org.broadleafcommerce.core.workflow.ErrorHandler
Add an ErrorHandler that does nothing and does not stop the workflow
Author:
Jeff Fischer
  • Constructor Details

    • TestPassThroughRollbackErrorHandler

      public TestPassThroughRollbackErrorHandler()
  • Method Details

    • handleError

      public void handleError(org.broadleafcommerce.core.workflow.ProcessContext context, Throwable th) throws org.broadleafcommerce.core.workflow.WorkflowException
      Specified by:
      handleError in interface org.broadleafcommerce.core.workflow.ErrorHandler
      Throws:
      org.broadleafcommerce.core.workflow.WorkflowException
    • setBeanName

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