Instance Exception Handler Entry With Throwable
Internal representation of an instance-bound exception handler that declares a throwable parameter.
This entry corresponds to @ExceptionHandler methods on subscriber instances with one of the following shapes:
(event: Event, throwable: Throwable)(throwable: Throwable)
The subscriber instance is held via a WeakReference, allowing it to be garbage-collected without requiring an explicit unsubscribe call. When the reference clears, the entry is treated as invalid and can be removed during cache maintenance.
The throwableType property records the declared throwable parameter type (e.g. IOException, RuntimeException, 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 InstanceExceptionInvokers strategy used to invoke the handler on target.
a weak reference to the subscriber instance that owns the exception handler method.
the declared throwable parameter type used to filter which exceptions this handler should receive.