@AfterThrowing(value = "execution(* com.snow.demo7.ProductDao.delete(..))",throwing="e")
public void afterThrowing(Throwable e){
System.out.println("异常抛出通知..........");
}
AspectJ异常通知
猜你喜欢
转载自blog.csdn.net/qq_27248989/article/details/103980223
今日推荐
周排行