Annotation Interface ExceptionValue
Assigns the exception thrown by the intercepted method to a parameter of a probe method. The probe method can be annotated with
Interception
, PayloadInterception
or AdditionalInterception
whose
invokeOn
argument is set to InvocationType.EXIT
or InvocationType.EXCEPTION
. The type of the annotated parameter must be Throwable
.
If invokeOn
is set to InvocationType.EXIT
and the instrumented method returns normally, the argument will be null
.