@FunctionalInterface public interface ExceptionHandler
Exception handlers are registered on the event bus and will be called whenever an exception is thrown during the dispatching of the events or the processing of the events by the event handlers.
| Modifier and Type | Method and Description |
|---|---|
void |
handleException(Throwable throwable,
Event<?> event)
Handles the specified exception that occurred when the specified event was either being dispatched or processed
by an event handler.
|
void handleException(Throwable throwable, Event<?> event)
throwable - Exception to be handled.event - Event for which the exception was thrown.Copyright © 2017. All rights reserved.