From 8009e63d71d0cce17c64c70852119ac4a9d71c4d Mon Sep 17 00:00:00 2001
From: lidongdong <1459917685@qq.com>
Date: 星期二, 18 十月 2022 14:16:36 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/huacheng_test' into huacheng_test
---
springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/exceptions/ServiceException.java | 8 +++-----
1 files changed, 3 insertions(+), 5 deletions(-)
diff --git a/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/exceptions/ServiceException.java b/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/exceptions/ServiceException.java
index fd8f7d5..e61650f 100644
--- a/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/exceptions/ServiceException.java
+++ b/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/exceptions/ServiceException.java
@@ -6,16 +6,15 @@
* @author: huang.hongfa weixin hhf9596 qq 959656820
* @create: 2020-12-28 14:13
**/
-public class ServiceException extends RuntimeException{
+public class ServiceException extends RuntimeException {
private String code;
private String msg;
private String data;
+
public ServiceException() {
super();
}
-
-
public ServiceException(String errorMsg) {
super(errorMsg);
@@ -28,7 +27,7 @@
this.msg = errorMsg;
}
- public ServiceException(String errorCode, String errorMsg,String data) {
+ public ServiceException(String errorCode, String errorMsg, String data) {
super(errorCode);
this.code = errorCode;
this.msg = errorMsg;
@@ -40,7 +39,6 @@
this.code = errorCode;
this.msg = errorMsg;
}
-
public String getErrorCode() {
return code;
--
Gitblit v1.7.1