public class ServerException extends RuntimeException
| 构造器和说明 |
|---|
ServerException()
无参构造
|
ServerException(int code,
String message)
两个参数的构造
|
ServerException(String message)
带一个参数的构造
|
| 限定符和类型 | 方法和说明 |
|---|---|
int |
getCode() |
void |
setCode(int code) |
Copyright © 2021. All rights reserved.