org.aspectj.lang.annotation

Interface AfterThrowing

public interface AfterThrowing

After throwing advice
Author:
Alexandre Vasseur

Method Summary

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.
String
pointcut()
The pointcut expression where to bind the advice, overrides "value" when specified
String
throwing()
The name of the argument in the advice signature to bind the thrown exception to
String
value()
The pointcut expression where to bind the advice

Method Details

argNames

public String argNames()
            throws ""
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.

pointcut

public String pointcut()
            throws ""
The pointcut expression where to bind the advice, overrides "value" when specified

throwing

public String throwing()
            throws ""
The name of the argument in the advice signature to bind the thrown exception to

value

public String value()
            throws ""
The pointcut expression where to bind the advice