From b8d9af65e2e60fcfb448d277b0ed3daef9688b2d Mon Sep 17 00:00:00 2001
From: AprilWind <2100166581@qq.com>
Date: 星期五, 09 八月 2024 17:24:44 +0800
Subject: [PATCH] update 增加sse注释说明

---
 ruoyi-common/ruoyi-common-mail/src/main/java/org/dromara/common/mail/utils/MailException.java |   44 ++++++++++++++++++++++++--------------------
 1 files changed, 24 insertions(+), 20 deletions(-)

diff --git a/ruoyi-common/ruoyi-common-mail/src/main/java/org/dromara/common/mail/utils/MailException.java b/ruoyi-common/ruoyi-common-mail/src/main/java/org/dromara/common/mail/utils/MailException.java
index 82e6509..cc199d4 100644
--- a/ruoyi-common/ruoyi-common-mail/src/main/java/org/dromara/common/mail/utils/MailException.java
+++ b/ruoyi-common/ruoyi-common-mail/src/main/java/org/dromara/common/mail/utils/MailException.java
@@ -3,34 +3,38 @@
 import cn.hutool.core.exceptions.ExceptionUtil;
 import cn.hutool.core.util.StrUtil;
 
+import java.io.Serial;
+
 /**
  * 閭欢寮傚父
+ *
  * @author xiaoleilu
  */
-public class MailException extends RuntimeException{
-	private static final long serialVersionUID = 8247610319171014183L;
+public class MailException extends RuntimeException {
+    @Serial
+    private static final long serialVersionUID = 8247610319171014183L;
 
-	public MailException(Throwable e) {
-		super(ExceptionUtil.getMessage(e), e);
-	}
+    public MailException(Throwable e) {
+        super(ExceptionUtil.getMessage(e), e);
+    }
 
-	public MailException(String message) {
-		super(message);
-	}
+    public MailException(String message) {
+        super(message);
+    }
 
-	public MailException(String messageTemplate, Object... params) {
-		super(StrUtil.format(messageTemplate, params));
-	}
+    public MailException(String messageTemplate, Object... params) {
+        super(StrUtil.format(messageTemplate, params));
+    }
 
-	public MailException(String message, Throwable throwable) {
-		super(message, throwable);
-	}
+    public MailException(String message, Throwable throwable) {
+        super(message, throwable);
+    }
 
-	public MailException(String message, Throwable throwable, boolean enableSuppression, boolean writableStackTrace) {
-		super(message, throwable, enableSuppression, writableStackTrace);
-	}
+    public MailException(String message, Throwable throwable, boolean enableSuppression, boolean writableStackTrace) {
+        super(message, throwable, enableSuppression, writableStackTrace);
+    }
 
-	public MailException(Throwable throwable, String messageTemplate, Object... params) {
-		super(StrUtil.format(messageTemplate, params), throwable);
-	}
+    public MailException(Throwable throwable, String messageTemplate, Object... params) {
+        super(StrUtil.format(messageTemplate, params), throwable);
+    }
 }

--
Gitblit v1.9.3