public class BusinessException extends RuntimeException
| Constructor and Description |
|---|
BusinessException(String msg) |
BusinessException(String code,
String msg)
自定义异常信息
|
| Modifier and Type | Method and Description |
|---|---|
String |
getBizCode() |
String |
getBizMsg() |
void |
setBizCode(String bizCode) |
void |
setBizMsg(String bizMsg) |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic BusinessException(String msg)
Copyright © 2020. All rights reserved.