Annotation Type ExceptionValue
-
@Retention(RUNTIME) @Target(PARAMETER) public @interface ExceptionValueAssigns the exception thrown by the intercepted method to a parameter of a probe method. The probe method can be annotated withInterception,PayloadInterceptionorAdditionalInterceptionwhoseinvokeOnargument is set toInvocationType.EXITorInvocationType.EXCEPTION. The type of the annotated parameter must beThrowable.If
invokeOnis set toInvocationType.EXITand the instrumented method returns normally, the argument will benull.