@Retention(RUNTIME)
@Target(METHOD)
public @interface AfterThrowing
Modifier and Type | Optional Element | Description |
---|---|---|
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.
|
java.lang.String |
pointcut |
The pointcut expression where to bind the advice, overrides "value" when specified
|
java.lang.String |
throwing |
The name of the argument in the advice signature to bind the thrown exception to
|
java.lang.String |
value |
The pointcut expression where to bind the advice
|
java.lang.String value
java.lang.String pointcut
java.lang.String throwing
java.lang.String argNames