public class CommonException extends RuntimeException
| 构造器和说明 |
|---|
CommonException() |
CommonException(int code,
String msg) |
CommonException(int code,
Throwable cause) |
CommonException(ResultMsg msg) |
CommonException(String message) |
CommonException(String message,
Throwable cause) |
CommonException(Throwable cause) |
| 限定符和类型 | 方法和说明 |
|---|---|
int |
getCode() |
CommonException |
setCode(int code) |
public CommonException()
public CommonException(int code,
String msg)
code - public CommonException(int code,
Throwable cause)
public CommonException(String message)
public CommonException(Throwable cause)
public CommonException(ResultMsg msg)
public int getCode()
public CommonException setCode(int code)
code - the code to setCopyright © 2022. All rights reserved.