Class org.as2lib.aop.advice.DynamicAfterThrowingAdvice

org.as2lib.core.BasicClass
   +--org.as2lib.aop.advice.AbstractAdvice
      +--org.as2lib.aop.advice.AbstractAfterThrowingAdvice
         +--org.as2lib.aop.advice.DynamicAfterThrowingAdvice

Implemented Interfaces

AfterThrowingAdvice

Description

DynamicAfterThrowingAdvice executes a callback at the weave-in point.

Field Index

Inherited from AbstractAdvice

AFTER, AFTER_RETURNING, AFTER_THROWING, AROUND, BEFORE

Method Index

new DynamicAfterThrowingAdvice()

execute()

Inherited from AbstractAdvice

captures(), getAspect(), getPointcut(), getProxy()

Inherited from BasicClass

toString()

Constructor Detail

DynamicAfterThrowingAdvice

public function DynamicAfterThrowingAdvice()

Method Detail

execute

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

Executes the callback passing the passed joinPoint and throwable.

Parameters

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

Specified By

execute() in org.as2lib.aop.advice.AfterThrowingAdvice