ExceptionHandlerEntry

internal sealed interface ExceptionHandlerEntry : Priority

Base type for all registered exception handler entries.

An ExceptionHandlerEntry represents a single method annotated with @ExceptionHandler that has been discovered and compiled into an ExceptionInvoker. Concrete implementations distinguish between:

  • instance-bound exception handlers, and

  • static exception handlers.

Exception handler entries are stored separately from normal event handlers but follow the same priority-based dispatch model.

Inheritors

Properties

Link copied to clipboard

strategy object responsible for invoking the underlying exception handler method when an event handler fails.

Link copied to clipboard
abstract val priority: Int

execution ordering hint; larger values are dispatched first.

Functions

Link copied to clipboard

Computes a relative "specificity" rank for this exception handler entry.