Add ExceptionEvent #12
Labels
No Label
1
13
2
21
3
34
5
55
8
bug
core
could have
duplicate
enhancement
help wanted
must have
proc
question
should have
wont have
L
M
S
XL
bug
bugfix
discussion
documentation
feature
maintenance
postponed
refactoring
wontfix
No Milestone
No Assignees
3 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: zdm/event-bus#12
Loading…
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
InvocationTargetException
and notThrowable
?Because the
InvocationTargetException
specifically wraps an exception thrown by the event handler, while theIllegalAccessException
andIllegalArgumentException
are only thrown in the case of an invalid configuration.