|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.codehaus.aspectwerkz.advice.AbstractAdvice
org.codehaus.aspectwerkz.advice.ThrowsAdvice
Is invoked at the join points where a specific exception is thrown out of a method.
Supports four different deployment models: PER_JVM, PER_CLASS, PER_INSTANCE A PER_THREAD.
aspectwerkz.DeploymentModel,
Serialized Form| Constructor Summary | |
ThrowsAdvice()
Sets the class of the class. |
|
| Method Summary | |
java.lang.Object |
doExecute(JoinPoint joinPoint)
Executes the current advice A then redirects to the next advice in the chain. |
abstract void |
execute(JoinPoint joinPoint)
Callback method. |
| Methods inherited from class org.codehaus.aspectwerkz.advice.AbstractAdvice |
getAdviceClass, getContainer, getDeploymentModel, getMemoryType, getName, getParameter, getParameters, getPerJvmAdvice, getSystem, newInstance, setAdviceClass, setContainer, setDeploymentModel, setName, setParameter, setParameters |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ThrowsAdvice()
| Method Detail |
public abstract void execute(JoinPoint joinPoint)
throws java.lang.Throwable
joinPoint - the join point the advice is executing at
java.lang.Throwable
public java.lang.Object doExecute(JoinPoint joinPoint)
throws java.lang.Throwable
joinPoint - the join point the advice is currently executing at
java.lang.Throwable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||