The Spring Framework

org.springframework.aop
Interface ThrowsAdvice

All Superinterfaces:
org.aopalliance.aop.Advice

public interface ThrowsAdvice
extends org.aopalliance.aop.Advice

Tag interface for throws advice.

There aren't any methods on this interface, as methods are invoked by reflection. Implementing classes should implement methods of the form:
afterThrowing([Method], [args], [target], Throwable subclass)

The first three arguments are optional, and only useful if we want further information about the joinpoint, as in AspectJ after throwing advice.

Author:
Rod Johnson
See Also:
AfterReturningAdvice, MethodBeforeAdvice


The Spring Framework

Copyright © 2002-2006 The Spring Framework.