From 288e1e83f12a1c673e76fb18453c436c163dc5b7 Mon Sep 17 00:00:00 2001 From: ZhouXY108 Date: Sun, 11 Dec 2022 00:14:14 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B0=86=20PlusoneException=20=E7=9A=84?= =?UTF-8?q?=E6=9E=84=E9=80=A0=E5=99=A8=E6=94=B9=E4=B8=BA=20public=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/xyz/zhouxy/plusone/exception/PlusoneException.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/xyz/zhouxy/plusone/exception/PlusoneException.java b/src/main/java/xyz/zhouxy/plusone/exception/PlusoneException.java index c874ff3..dbcaf2c 100644 --- a/src/main/java/xyz/zhouxy/plusone/exception/PlusoneException.java +++ b/src/main/java/xyz/zhouxy/plusone/exception/PlusoneException.java @@ -11,17 +11,17 @@ public class PlusoneException extends RuntimeException implements IWithCode { private final int code; - protected PlusoneException(int code, String msg) { + public PlusoneException(int code, String msg) { super(msg); this.code = code; } - protected PlusoneException(int code, Throwable cause) { + public PlusoneException(int code, Throwable cause) { super(cause); this.code = code; } - protected PlusoneException(int code, String msg, Throwable cause) { + public PlusoneException(int code, String msg, Throwable cause) { super(msg, cause); this.code = code; }