public class ErrorThrowingEventListener extends BaseDelegateEventListener
FlowableEventListener that throws a error event when an event is dispatched to it.| Modifier and Type | Field and Description |
|---|---|
protected String |
errorCode |
entityClassonTransaction| Constructor and Description |
|---|
ErrorThrowingEventListener() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isFailOnException() |
void |
onEvent(FlowableEvent event)
Called when an event has been fired
|
void |
setErrorCode(String errorCode) |
getEntityClass, isValidEvent, setEntityClassgetOnTransaction, isFireOnTransactionLifecycleEvent, setOnTransactionclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetTypesprotected String errorCode
public void onEvent(FlowableEvent event)
FlowableEventListenerevent - the eventpublic void setErrorCode(String errorCode)
public boolean isFailOnException()
Copyright © 2023 Flowable. All rights reserved.