This commit is contained in:
阿沐 2024-12-19 19:04:47 +08:00
parent c42abc316e
commit 19d743e214

View File

@ -35,4 +35,10 @@ public class ServerException extends RuntimeException {
this.msg = msg;
}
public ServerException(int code, String msg) {
super(msg);
this.code = code;
this.msg = msg;
}
}