From d809ecd16cbb23f5aad86a6844f51ffea0455fe8 Mon Sep 17 00:00:00 2001
From: chenlu <1320612696@qq.com>
Date: 星期五, 06 九月 2024 16:53:55 +0800
Subject: [PATCH] Merge branch 'master' of http://bore.pub:10439/r/ERP_override
---
north-glass-erp/src/main/java/com/example/erp/exception/ServiceException.java | 12 ++++++++++++
1 files changed, 12 insertions(+), 0 deletions(-)
diff --git a/north-glass-erp/src/main/java/com/example/erp/exception/ServiceException.java b/north-glass-erp/src/main/java/com/example/erp/exception/ServiceException.java
new file mode 100644
index 0000000..4e42631
--- /dev/null
+++ b/north-glass-erp/src/main/java/com/example/erp/exception/ServiceException.java
@@ -0,0 +1,12 @@
+package com.example.erp.exception;
+
+import lombok.Getter;
+
+@Getter
+public class ServiceException extends RuntimeException {
+ private String code;
+ public ServiceException(String code, String msg){
+ super(msg);
+ this.code=code;
+ }
+}
--
Gitblit v1.8.0