event-bus/event-bus-core/src/main/java/dev/kske/eventbus/core
Kai S. K. Engelbart 122106bf39
Transparently propagate event handler errors
When an exception occurs during the execution of an event handler, it is
caught, wrapped inside an exception event and dispatched on the event
bus.

This applies to any throwable, but is not very useful for errors, as
these are not normally caught. Assertion errors in particular, which are
used in unit tests, should not be caught, as this would cause the test
runner to miss a failed test.

Therefore, errors are now transparently passed through to the caller of
the dispatch method.
2021-03-15 08:29:15 +01:00
..
DeadEvent.java Log unhandled dead events 2021-02-20 22:10:48 +01:00
Event.java Allow event handlers with non-void return type 2021-02-19 11:14:43 +01:00
EventBus.java Transparently propagate event handler errors 2021-03-15 08:29:15 +01:00
EventBusException.java Rename event-bus module to event-bus-core, add event-bus-ap module 2021-02-09 09:52:26 +01:00
EventHandler.java Add ExceptionEvent 2021-02-21 10:36:06 +01:00
ExceptionEvent.java Add ExceptionEvent 2021-02-21 10:36:06 +01:00
Polymorphic.java Replace includeSubtypes with @Polymorphic 2021-02-15 10:55:30 +01:00
Priority.java Replace priority with @Priority 2021-02-15 12:06:33 +01:00
package-info.java Rename event-bus module to event-bus-core, add event-bus-ap module 2021-02-09 09:52:26 +01:00