public abstract static class EventQueue.FailureLoggingEvent extends Object implements EventQueue.Event
Constructor and Description |
---|
FailureLoggingEvent(org.slf4j.Logger log) |
Modifier and Type | Method and Description |
---|---|
void |
handleException(Throwable e)
Handle an exception that was either generated by running the event, or by the
event queue's inability to run the event.
|
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
run
public void handleException(Throwable e)
EventQueue.Event
handleException
in interface EventQueue.Event
e
- The exception. This will be a TimeoutException if the event hit
its deadline before it could be scheduled.
It will be a RejectedExecutionException if the event could not be
scheduled because the event queue has already been closed.
Otherweise, it will be whatever exception was thrown by run().