public class BusinessException extends RuntimeException
| 构造器和说明 |
|---|
BusinessException(org.springframework.http.HttpStatus code,
String msg)
自定义异常信息
|
BusinessException(String msg) |
| 限定符和类型 | 方法和说明 |
|---|---|
org.springframework.http.HttpStatus |
getCode() |
String |
getMsg() |
void |
setCode(org.springframework.http.HttpStatus code) |
void |
setMsg(String msg) |
Copyright © 2021. All rights reserved.