站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > Spring Framework 1.2.9 API 文档英文版

ThrowsAdvice (Spring Framework) - Spring Framework 1.2.9 API 文档英文版


org.springframework.aop
Interface ThrowsAdvice

All Superinterfaces:
Advice

public interface ThrowsAdvice
extends 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



Copyright (c) 2002-2007 The Spring Framework Project.