| Access | Constructor and Description |
|---|---|
| public | AspectJAfterThrowingAdvice(Method aspectJBeforeAdviceMethod, AspectJExpressionPointcut pointcut, AspectInstanceFactory aif)
|
| Modifier and Type | Method and Description |
|---|---|
| public Object | invoke(MethodInvocation
the method invocation joinpoint mi)Implements org. |
| public boolean | isAfterAdvice()
Implements org. |
| public boolean | isBeforeAdvice()
Implements org. |
| public void | |
| private boolean | shouldInvokeOnThrowing(Throwable ex)
In AspectJ semantics, after throwing advice that specifies a throwing clause is only invoked if the thrown exception is a subtype of the given throwing type. |
| AspectJAfterThrowingAdvice | back to summary |
|---|---|
| public AspectJAfterThrowingAdvice(Method aspectJBeforeAdviceMethod, AspectJExpressionPointcut pointcut, AspectInstanceFactory aif) | |
| invoke | back to summary |
|---|---|
| public Object invoke(MethodInvocation mi) throws Throwable Implements org. Doc from org. Implement this method to perform extra treatments before and
after the invocation. Polite implementations would certainly
like to invoke
| |
| isAfterAdvice | back to summary |
|---|---|
| public boolean isAfterAdvice() Implements org. Doc from org. Return whether this is an after advice.
| |
| isBeforeAdvice | back to summary |
|---|---|
| public boolean isBeforeAdvice() Implements org. Doc from org. Return whether this is a before advice.
| |
| setThrowingName | back to summary |
|---|---|
| public void setThrowingName(String name) Overrides org.
| |
| shouldInvokeOnThrowing | back to summary |
|---|---|
| private boolean shouldInvokeOnThrowing(Throwable ex) In AspectJ semantics, after throwing advice that specifies a throwing clause is only invoked if the thrown exception is a subtype of the given throwing type. | |