fix: 优化代码注释与导入规范

This commit is contained in:
Ray.Hao
2026-06-26 00:33:39 +08:00
parent 6943f12d79
commit 2d249e449d
9 changed files with 36 additions and 15 deletions

View File

@@ -7,13 +7,13 @@ import org.slf4j.helpers.MessageFormatter;
/**
* 自定义业务异常
*
* @author Ray
* @since 2022/7/31
* @author Ray.Hao
* @since 0.0.1
*/
@Getter
public class BusinessException extends RuntimeException {
public IResultCode resultCode;
private IResultCode resultCode;
public BusinessException(IResultCode errorCode) {
super(errorCode.getMsg());
@@ -21,7 +21,7 @@ public class BusinessException extends RuntimeException {
}
public BusinessException(IResultCode errorCode,String message) {
public BusinessException(IResultCode errorCode, String message) {
super(message);
this.resultCode = errorCode;
}