@Retention(value=RUNTIME)
@Target(value=PARAMETER)
public @interface ExceptionValue
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
.