Class ErrorThrowingEventListener

All Implemented Interfaces:
FlowableEventListener

public class ErrorThrowingEventListener extends BaseDelegateEventListener
An FlowableEventListener that throws a error event when an event is dispatched to it.
Author:
Frederik Heremans
  • Field Details

    • errorCode

      protected String errorCode
  • Constructor Details

    • ErrorThrowingEventListener

      public ErrorThrowingEventListener()
  • Method Details

    • onEvent

      public void onEvent(FlowableEvent event)
    • setErrorCode

      public void setErrorCode(String errorCode)
    • isFailOnException

      public boolean isFailOnException()