| Modifier and Type | Method and Description |
|---|---|
void |
EventBus.addExceptionHandler(ExceptionHandler handler)
Adds the specified exception handler that will be notified whenever and exception is thrown when an event is
being dispatched or processed by an event handler.
|
void |
EventBus.removeExceptionHandler(ExceptionHandler handler)
Removes the specified exception handler
|
| Modifier and Type | Method and Description |
|---|---|
void |
Dispatcher.dispatch(Event<Object> event,
Map<EventHandler<Object>,EventFilter<Object>> eventHandlers,
Collection<EventHandler<Object>> undeliveredEventHandlers,
Collection<ExceptionHandler> exceptionHandlers)
Dispatches the specified event to the specified event filters and handlers.
|
| Modifier and Type | Field and Description |
|---|---|
protected List<ExceptionHandler> |
AbstractEventBus.exceptionHandlers
Registered unchecked exception handlers.
|
| Modifier and Type | Method and Description |
|---|---|
void |
AbstractEventBus.addExceptionHandler(ExceptionHandler handler) |
void |
AbstractEventBus.removeExceptionHandler(ExceptionHandler handler) |
| Modifier and Type | Method and Description |
|---|---|
void |
SingleThreadDispatcher.dispatch(Event<Object> event,
Map<EventHandler<Object>,EventFilter<Object>> eventHandlers,
Collection<EventHandler<Object>> undeliveredEventHandlers,
Collection<ExceptionHandler> exceptionHandlers) |
void |
AbstractUIThreadDispatcher.dispatch(Event<Object> event,
Map<EventHandler<Object>,EventFilter<Object>> eventHandlers,
Collection<EventHandler<Object>> undeliveredEventHandlers,
Collection<ExceptionHandler> exceptionHandlers) |
void |
CurrentThreadDispatcher.dispatch(Event<Object> event,
Map<EventHandler<Object>,EventFilter<Object>> eventHandlers,
Collection<EventHandler<Object>> undeliveredEventHandlers,
Collection<ExceptionHandler> exceptionHandlers) |
protected void |
AbstractSerialDispatcher.processEvent(Event<Object> event,
Map<EventHandler<Object>,EventFilter<Object>> eventHandlers,
Collection<EventHandler<Object>> undeliveredEventHandlers,
Collection<ExceptionHandler> exceptionHandlers) |
protected boolean |
AbstractDispatcher.processEventThroughFilterAndHandler(Event<Object> event,
EventFilter<Object> filter,
EventHandler<Object> handler,
Collection<ExceptionHandler> exceptionHandlers)
Passes the specified event to the specified event handler if the specified event filter accepts it.
|
protected void |
AbstractDispatcher.processUncheckedException(Throwable t,
Collection<ExceptionHandler> exceptionHandlers,
Event<?> event)
Processes the specified exception with the specified exception handlers.
|
protected void |
AbstractDispatcher.processUndeliveredEvent(Event<Object> event,
Collection<EventHandler<Object>> undeliveredEventHandlers,
Collection<ExceptionHandler> exceptionHandlers)
Passes the specified event to the specified undelivered event handlers.
|
protected void |
AbstractSerialDispatcher.queueEvent(Event<Object> event,
Map<EventHandler<Object>,EventFilter<Object>> eventHandlers,
Collection<EventHandler<Object>> undeliveredEventHandlers,
Collection<ExceptionHandler> exceptionHandlers) |
| Modifier and Type | Class and Description |
|---|---|
class |
LogErrorExceptionHandler
Exception handler to will log the exception as errors.
|
Copyright © 2017. All rights reserved.