Static Exception Handler Entry With Throwable
Internal representation of a static exception handler that declares a throwable parameter.
This entry corresponds to @ExceptionHandler methods declared as static (in Java) or @JvmStatic (in Kotlin) with one of the following shapes:
(event: Event, throwable: Throwable)(throwable: Throwable)
Unlike instance-bound handlers, static handlers are not tied to a specific subscriber object and therefore do not use weak references. They remain active until explicitly unregistered by the event bus.
The throwableType property records the declared throwable parameter type (e.g. IOException, Exception, Throwable). During dispatch, the event system only invokes this handler when:
the event type is compatible (based on the event-method cache key and hierarchy traversal), and
throwableType.isInstance(thrown)istrue.
Constructors
Properties
the compiled StaticExceptionInvokers strategy used to invoke the underlying handler method.
the declared throwable parameter type used to filter which exceptions this handler should observe.