public class BusinessException extends RuntimeException
| 构造器和说明 |
|---|
BusinessException(ErrCodeType errCodeType) |
BusinessException(int code,
String message) |
BusinessException(String message) |
BusinessException(String message,
Throwable cause) |
BusinessException(Throwable cause) |
| 限定符和类型 | 方法和说明 |
|---|---|
Throwable |
fillInStackTrace() |
int |
getCode() |
void |
setCode(int code) |
addSuppressed, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic BusinessException(String message)
public BusinessException(int code,
String message)
public BusinessException(ErrCodeType errCodeType)
public BusinessException(Throwable cause)
public int getCode()
public void setCode(int code)
public Throwable fillInStackTrace()
fillInStackTrace 在类中 ThrowableCopyright © 2022–2023. All rights reserved.