Class ErrorThrowingEventListener
java.lang.Object
org.flowable.common.engine.api.delegate.event.AbstractFlowableEventListener
org.flowable.engine.impl.bpmn.helper.BaseDelegateEventListener
org.flowable.engine.impl.bpmn.helper.ErrorThrowingEventListener
- All Implemented Interfaces:
FlowableEventListener
An
FlowableEventListener that throws a error event when an event is dispatched to it.- Author:
- Frederik Heremans
-
Field Summary
FieldsFields inherited from class org.flowable.engine.impl.bpmn.helper.BaseDelegateEventListener
entityClassFields inherited from class org.flowable.common.engine.api.delegate.event.AbstractFlowableEventListener
onTransaction -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanvoidonEvent(FlowableEvent event) voidsetErrorCode(String errorCode) Methods inherited from class org.flowable.engine.impl.bpmn.helper.BaseDelegateEventListener
getEntityClass, isValidEvent, setEntityClassMethods inherited from class org.flowable.common.engine.api.delegate.event.AbstractFlowableEventListener
getOnTransaction, isFireOnTransactionLifecycleEvent, setOnTransactionMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.flowable.common.engine.api.delegate.event.FlowableEventListener
getTypes
-
Field Details
-
errorCode
-
-
Constructor Details
-
ErrorThrowingEventListener
public ErrorThrowingEventListener()
-
-
Method Details
-
onEvent
-
setErrorCode
-
isFailOnException
public boolean isFailOnException()
-