This commit is contained in:
parent
c42abc316e
commit
19d743e214
|
@ -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;
|
||||
}
|
||||
|
||||
}
|
Loading…
Reference in New Issue
Block a user