为什么我抛出异常后还是执行了afterReturning,代码错误,非问题
public class AspectBiz {
public void biz() {
System.out.println("AspectBiz biz.");
throw new RuntimeException();// 强制抛出异常
}
}MoocAspect before.
AspectBiz biz.
MoocAspect afterReturning
MoocAspect afterThrowing.
看了debug,查配置,找到问题了