public abstract class BaseRuntimeException extends RuntimeException
| 限定符 | 构造器和说明 |
|---|---|
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,
String message)
code - the error codemessage - the error messageprotected BaseRuntimeException(int code,
String message,
Throwable cause)
code - the error codemessage - the error messagecause - the root causeprotected BaseRuntimeException(int code,
String message,
Throwable cause,
boolean enableSuppression,
boolean writableStackTrace)
code - the error codemessage - the error messagecause - the root causeenableSuppression - the enableSuppressionwritableStackTrace - the writableStackTraceCopyright © 2025. All rights reserved.