Add ExceptionEvent #12
Reference in New Issue
Block a user
No description provided.
Delete Branch "f/exception-event"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
An exception event wraps an event that caused an exception inside of an
event handler while being dispatched and is then dispatched to dedicated
handlers.
Closes #11
👍
@@ -84,1 +86,3 @@handlers.next().execute(event);try {handlers.next().execute(event);} catch (InvocationTargetException e) {Why only
InvocationTargetExceptionand notThrowable?Because the
InvocationTargetExceptionspecifically wraps an exception thrown by the event handler, while theIllegalAccessExceptionandIllegalArgumentExceptionare only thrown in the case of an invalid configuration.