From 129ace687886563a0e037f5ec9eea07af4af64f9 Mon Sep 17 00:00:00 2001 From: ZhouXY108 Date: Tue, 24 Dec 2024 18:01:41 +0800 Subject: [PATCH] =?UTF-8?q?=E9=87=8D=E8=BD=BD=20DataNotExistsException=20?= =?UTF-8?q?=E6=9E=84=E9=80=A0=E5=99=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../commons/exception/DataNotExistsException.java | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/src/main/java/xyz/zhouxy/plusone/commons/exception/DataNotExistsException.java b/src/main/java/xyz/zhouxy/plusone/commons/exception/DataNotExistsException.java index b3dab24..5877a68 100644 --- a/src/main/java/xyz/zhouxy/plusone/commons/exception/DataNotExistsException.java +++ b/src/main/java/xyz/zhouxy/plusone/commons/exception/DataNotExistsException.java @@ -27,10 +27,18 @@ public final class DataNotExistsException extends Exception { private static final long serialVersionUID = 6536955800679703111L; public DataNotExistsException() { - super("数据不存在"); + super(); } public DataNotExistsException(String message) { super(message); } + + public DataNotExistsException(Throwable cause) { + super(cause); + } + + public DataNotExistsException(String message, Throwable cause) { + super(message, cause); + } }