Interface org.as2lib.aop.advice.AfterThrowingAdvice

org.as2lib.core.BasicInterface
   +--org.as2lib.aop.Advice
      +--org.as2lib.aop.advice.AfterThrowingAdvice

Description

AfterThrowingAdvice is invoked after a join point, this advice has been woven-into, has been invoked and threw an exception.

Method Index

execute()

Inherited from Advice

captures(), getProxy()

Inherited from BasicInterface

toString()

Method Detail

execute

public function execute(joinPoint:JoinPoint, throwable):Void

Executes the actions that shall take place after a specific join point threw an exception.

If you use the proxy returned by the AbstractAfterThrowingAdvice#getProxy method to overwrite the actual join point, this method is invoked after the procession of the given joinPoint resulted in an exception.

Parameters

joinPointthe join point this advice was woven into
throwablethe throwable thrown by the given joinPoint