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