public abstract class BaseException extends Exception
| 限定符 | 构造器和说明 |
|---|---|
protected |
BaseException(CodeMsg codeMsg) |
protected |
BaseException(CodeMsg codeMsg,
Throwable cause) |
protected |
BaseException(int code) |
protected |
BaseException(int code,
String message) |
protected |
BaseException(int code,
String message,
Throwable cause) |
protected |
BaseException(int code,
String message,
Throwable cause,
boolean enableSuppression,
boolean writableStackTrace) |
| 限定符和类型 | 方法和说明 |
|---|---|
int |
getCode()
Returns the error code
|
protected BaseException(int code)
protected BaseException(CodeMsg codeMsg)
protected BaseException(int code,
String message)
code - error codemessage - error messageprotected BaseException(int code,
String message,
Throwable cause)
code - error codemessage - error messagecause - root causeCopyright © 2024. All rights reserved.