出錯原因:aop方法参数写漏了
---aop的afterThrow 漏掉了一个参数ex绑定
public void afterThrow(JoinPoint joinPoint,Exception ex)
原:<aop:after-throwing method="afterThrow" pointcut-ref="xmlPointCut" />
后:<aop:after-throwing method="afterThrow" pointcut-ref="xmlPointCut" throwing="ex"/>