VVL1295

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

Spring AOP 与 UndeclaredThrowableException

  Spring AOP 的功能处理方法里的自定义异常被抛出来后,会被包装成 UndeclaredThrowableException,只要调用 getRealThrowable() 即可获得真正的异常;

posted on 2016-10-11 21:53  bobo2018  阅读(666)  评论(0)    收藏  举报