Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT

## org.aspectj.lang.annotation
Annotation Type AfterThrowing

    @Retention(value=RUNTIME)
    @Target(value=METHOD)
    public @interface AfterThrowing

After throwing advice

Author:
  Alexandre Vasseur

Optional Element Summary
`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

### value

    public abstract java.lang.String value

  The pointcut expression where to bind the advice

  Default:
    ""

### pointcut

    public abstract java.lang.String pointcut

  The pointcut expression where to bind the advice, overrides "value" when specified

  Default:
    ""

### throwing

    public abstract java.lang.String throwing

  The name of the argument in the advice signature to bind the thrown exception to

  Default:
    ""

### argNames

    public abstract 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:
    ""

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT