AOP 学习, 抛出通知
抛出通知
org.springframework.aop.ThrowsAdvice;
抛出通知跟后置通知一样是在连接点只后运行的,不过抛出通知只在方法抛出一个异常时才执行,该通知对程序运行不能做任何改变, 能做的只是改变抛出异常的类型
this is a test1 this is a test2
发布时间: 2012-10-28 09:54:44 作者: rapoo
AOP 学习, 抛出通知
抛出通知
org.springframework.aop.ThrowsAdvice;
抛出通知跟后置通知一样是在连接点只后运行的,不过抛出通知只在方法抛出一个异常时才执行,该通知对程序运行不能做任何改变, 能做的只是改变抛出异常的类型
this is a test1 this is a test2