Instance Exception Handler Entry
internal data class InstanceExceptionHandlerEntry(val target: WeakReference<Any>, val invoker: InstanceExceptionInvokers, val priority: Int) : ExceptionHandlerEntry
Internal representation of an instance-bound exception handler.
An InstanceExceptionHandlerEntry binds a discovered @ExceptionHandler method to a specific subscriber object. The subscriber is held via a WeakReference, allowing it to be garbage-collected without requiring an explicit unsubscribe call. When the target is collected, the entry is treated as invalid and can be pruned during normal cache maintenance.
Properties
Link copied to clipboard
the compiled InstanceExceptionInvokers strategy used to invoke the handler on target.
Link copied to clipboard
a weak reference to the subscriber instance that owns the exception handler method.