abc.weaving.aspectinfo
Class AfterThrowingAdvice
java.lang.Object
abc.weaving.aspectinfo.Syntax
abc.weaving.aspectinfo.AbstractAdviceSpec
abc.weaving.aspectinfo.AbstractAfterAdvice
abc.weaving.aspectinfo.AfterThrowingAdvice
- All Implemented Interfaces:
- AdviceSpec
- Direct Known Subclasses:
- AfterThrowingArgAdvice, DeclareSoft.SoftenAdvice
public class AfterThrowingAdvice
- extends AbstractAfterAdvice
Advice specification for after throwing advice without exception variable binding.
- Author:
- Aske Simon Christensen, Ganesh Sittampalam
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
AfterThrowingAdvice
public AfterThrowingAdvice(Position pos)
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
getCatchType
public RefType getCatchType()
bindException
public void bindException(WeavingContext wc,
AbstractAdviceDecl ad,
Local Exception)
weave
public void weave(SootMethod method,
LocalGeneratorEx localgen,
AdviceApplication adviceappl)
- Description copied from interface:
AdviceSpec
- Weave a specific advice application into the given method
using the given local generator. The AdviceSpec is used to
dispatch to the correct weaving method for the advice type.