public abstract class ErrorEventHandler extends EventHandler<ErrorEvent> implements HasEventDispatcher, EventDispatcher
ComponentTree
to gracefully handle uncaught/unhandled exceptions thrown from the framework while resolving a
layout.dispatchInfo, id, params
Constructor and Description |
---|
ErrorEventHandler() |
Modifier and Type | Method and Description |
---|---|
void |
dispatchEvent(ErrorEvent event) |
java.lang.Object |
dispatchOnEvent(EventHandler eventHandler,
java.lang.Object eventState) |
EventDispatcher |
getEventDispatcher() |
abstract void |
onError(ComponentTree ct,
java.lang.Exception e)
Action performed when exception occurred.
|
call, isEquivalentTo, toString
public java.lang.Object dispatchOnEvent(EventHandler eventHandler, java.lang.Object eventState)
dispatchOnEvent
in interface EventDispatcher
public void dispatchEvent(ErrorEvent event)
dispatchEvent
in class EventHandler<ErrorEvent>
public EventDispatcher getEventDispatcher()
getEventDispatcher
in interface HasEventDispatcher
public abstract void onError(ComponentTree ct, java.lang.Exception e)