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