Package org.aspectj.lang.annotation
Annotation Type AfterThrowing
-
@Retention(RUNTIME) @Target(METHOD) public @interface AfterThrowingAfter throwing advice- Author:
- Alexandre Vasseur
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description java.lang.StringargNamesWhen compiling without debug info, or when interpreting pointcuts at runtime, the names of any arguments used in the advice declaration are not available.java.lang.StringpointcutThe pointcut expression where to bind the advice, overrides "value" when specifiedjava.lang.StringthrowingThe name of the argument in the advice signature to bind the thrown exception tojava.lang.StringvalueThe pointcut expression where to bind the advice
-
-
-
-
argNames
java.lang.String argNames
When compiling without debug info, or when interpreting pointcuts at runtime, the names of any arguments used in the advice declaration are not available. Under these circumstances only, it is necessary to provide the arg names in the annotation - these MUST duplicate the names used in the annotated method. Format is a simple comma-separated list.- Default:
- ""
-
-