Class ErrorThrowingEventListener

    • Field Detail

      • errorCode

        protected java.lang.String errorCode
    • Constructor Detail

      • ErrorThrowingEventListener

        public ErrorThrowingEventListener()
    • Method Detail

      • onEvent

        public void onEvent​(ActivitiEvent event)
        Description copied from interface: ActivitiEventListener
        Called when an event has been fired
        Parameters:
        event - the event
      • setErrorCode

        public void setErrorCode​(java.lang.String errorCode)
      • isFailOnException

        public boolean isFailOnException()
        Returns:
        whether or not the current operation should fail when this listeners execution throws an exception.