From 4c1d989047aa87c3e86fd7c41910d326f0cea8ab Mon Sep 17 00:00:00 2001 From: jiangjiazhi Date: Wed, 14 Jun 2017 19:41:40 +0800 Subject: [PATCH] commit --- .../java/com/lyms/platform/common/perf/DalMethodInterceptor.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/platform-common/src/main/java/com/lyms/platform/common/perf/DalMethodInterceptor.java b/platform-common/src/main/java/com/lyms/platform/common/perf/DalMethodInterceptor.java index 03a42a7..447751f 100644 --- a/platform-common/src/main/java/com/lyms/platform/common/perf/DalMethodInterceptor.java +++ b/platform-common/src/main/java/com/lyms/platform/common/perf/DalMethodInterceptor.java @@ -48,7 +48,8 @@ public class DalMethodInterceptor implements MethodInterceptor { } return object; } catch (Exception e) { - ExceptionUtils.catchException(e,e.getMessage()); + ExceptionUtils.catchException(e,"DalMethodInterceptor error."); + throw e; }finally{ long end = System.currentTimeMillis(); long i =(end - start); @@ -61,8 +62,8 @@ public class DalMethodInterceptor implements MethodInterceptor { }else{ logger.info(result); } + return null; } - return null; } /** -- 1.8.3.1