abc.weaving.aspectinfo
Class AfterThrowingArgAdvice

java.lang.Object
  extended by abc.weaving.aspectinfo.Syntax
      extended by abc.weaving.aspectinfo.AbstractAdviceSpec
          extended by abc.weaving.aspectinfo.AbstractAfterAdvice
              extended by abc.weaving.aspectinfo.AfterThrowingAdvice
                  extended by abc.weaving.aspectinfo.AfterThrowingArgAdvice
All Implemented Interfaces:
AdviceSpec

public class AfterThrowingArgAdvice
extends AfterThrowingAdvice

Advice specification for after throwing advice with exception variable binding.

Author:
Aske Simon Christensen, Ganesh Sittampalam

Constructor Summary
AfterThrowingArgAdvice(Formal formal, Position pos)
           
 
Method Summary
 void bindException(WeavingContext wc, AbstractAdviceDecl ad, Local exception)
           
 RefType getCatchType()
           
 Formal getFormal()
           
 java.lang.String toString()
           
 
Methods inherited from class abc.weaving.aspectinfo.AfterThrowingAdvice
weave
 
Methods inherited from class abc.weaving.aspectinfo.AbstractAfterAdvice
matchesAt
 
Methods inherited from class abc.weaving.aspectinfo.AbstractAdviceSpec
isAfter
 
Methods inherited from class abc.weaving.aspectinfo.Syntax
getPosition
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AfterThrowingArgAdvice

public AfterThrowingArgAdvice(Formal formal,
                              Position pos)
Method Detail

getFormal

public Formal getFormal()

toString

public java.lang.String toString()
Overrides:
toString in class AfterThrowingAdvice

getCatchType

public RefType getCatchType()
Overrides:
getCatchType in class AfterThrowingAdvice

bindException

public void bindException(WeavingContext wc,
                          AbstractAdviceDecl ad,
                          Local exception)
Overrides:
bindException in class AfterThrowingAdvice