From a2a27d09de45b6eb671bb50a25b6eb6d01902beb Mon Sep 17 00:00:00 2001
From: wuxw <928255095@qq.com>
Date: 星期六, 08 二月 2020 19:11:05 +0800
Subject: [PATCH] 优化修改密码功能
---
java110-event/src/main/java/com/java110/event/service/BusinessServiceDataFlowEventPublishing.java | 17 +++++++++--------
1 files changed, 9 insertions(+), 8 deletions(-)
diff --git a/java110-event/src/main/java/com/java110/event/service/BusinessServiceDataFlowEventPublishing.java b/java110-event/src/main/java/com/java110/event/service/BusinessServiceDataFlowEventPublishing.java
index 1cb6c22..3dcb909 100644
--- a/java110-event/src/main/java/com/java110/event/service/BusinessServiceDataFlowEventPublishing.java
+++ b/java110-event/src/main/java/com/java110/event/service/BusinessServiceDataFlowEventPublishing.java
@@ -1,11 +1,11 @@
package com.java110.event.service;
-import com.java110.common.constant.CommonConstant;
-import com.java110.common.constant.ResponseConstant;
-import com.java110.common.exception.BusinessException;
-import com.java110.common.factory.ApplicationContextFactory;
-import com.java110.common.log.LoggerEngine;
-import com.java110.common.util.Assert;
+import com.java110.utils.constant.CommonConstant;
+import com.java110.utils.constant.ResponseConstant;
+import com.java110.utils.exception.BusinessException;
+import com.java110.utils.factory.ApplicationContextFactory;
+import com.java110.utils.log.LoggerEngine;
+import com.java110.utils.util.Assert;
import com.java110.core.context.DataFlowContext;
import com.java110.event.center.DataFlowListenerOrderComparator;
@@ -115,7 +115,8 @@
multicastEvent(businessTypeCd,targetDataFlowEvent, asyn);
}catch (Exception e){
- throw new BusinessException(ResponseConstant.RESULT_CODE_INNER_ERROR,"鍙戝竷渚﹀惉澶辫触锛屽け璐ュ師鍥犱负锛�"+e);
+ logger.error("鍙戝竷渚﹀惉澶辫触",e);
+ throw new BusinessException(ResponseConstant.RESULT_CODE_INNER_ERROR,e.getMessage());
}
}
@@ -168,7 +169,7 @@
listener.soService(event);
}catch (Exception e){
LoggerEngine.error("鍙戝竷渚﹀惉澶辫触",e);
- throw new RuntimeException("鍙戝竷渚﹀惉澶辫触,"+listener+ event + e);
+ throw new RuntimeException(e.getMessage());
}
}
}
--
Gitblit v1.8.0