将 PlusoneException 的构造器改为 public。

This commit is contained in:
zhouxy108 2022-12-11 00:14:14 +08:00
parent 6facacb4b1
commit 288e1e83f1

View File

@ -11,17 +11,17 @@ public class PlusoneException extends RuntimeException implements IWithCode {
private final int code; private final int code;
protected PlusoneException(int code, String msg) { public PlusoneException(int code, String msg) {
super(msg); super(msg);
this.code = code; this.code = code;
} }
protected PlusoneException(int code, Throwable cause) { public PlusoneException(int code, Throwable cause) {
super(cause); super(cause);
this.code = code; this.code = code;
} }
protected PlusoneException(int code, String msg, Throwable cause) { public PlusoneException(int code, String msg, Throwable cause) {
super(msg, cause); super(msg, cause);
this.code = code; this.code = code;
} }