@AfterThrowing("execution(* com.wang.weather.controller..UserController.*(..))")
注解@AfterThrowing:在切点抛出异常时执行
execution():表达式主体
第一个* :任意返回值
com.wang.weather.controller.. :表示在controller包及其自包,.. :子孙包都生效
UserController: 在这个包下的只有UserController这个类生效(改为*则所有类生效)
*(..) : 表示所有方法任意参数生效