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) |
void |
setErrorCode(String errorCode) |
getEntityClass, isValidEvent, setEntityClassgetOnTransaction, isFireOnTransactionLifecycleEvent, setOnTransactionprotected String errorCode
public void onEvent(FlowableEvent event)
public void setErrorCode(String errorCode)
public boolean isFailOnException()
Copyright © 2020 Flowable. All rights reserved.