fireExit

open fun fireExit(slot: Int, key: String, self: Any, args: Array<Any>, returned: Any, thrown: Throwable)

Target of the inlined INVOKESTATIC woven at every exit of an exit-patched method, including the exceptional one. Same contract as fireEnter: cheap, and a handler's throwable never escapes — which matters more here, since escaping would replace the exception the method was already throwing.

Parameters

returned

the return value, boxed; null for void and meaningless when thrown is non-null

thrown

the exception leaving the method, or null on a normal return