public class ErrorThrowingEventListener extends BaseDelegateEventListener
ActivitiEventListener that throws a error event when an event is
dispatched to it.| Modifier and Type | Field and Description |
|---|---|
protected String |
errorCode |
entityClass| Constructor and Description |
|---|
ErrorThrowingEventListener() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isFailOnException() |
void |
onEvent(ActivitiEvent event)
Called when an event has been fired
|
void |
setErrorCode(String errorCode) |
isValidEvent, setEntityClassprotected String errorCode
public void onEvent(ActivitiEvent event)
ActivitiEventListenerevent - the eventpublic void setErrorCode(String errorCode)
public boolean isFailOnException()
Copyright © 2016 Alfresco. All rights reserved.