类 BizException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
red.mulan.boot.common.exception.BizException
- 所有已实现的接口:
Serializable
自定义业务异常
- 从以下版本开始:
- 2023/2/17 20:54
- 版本:
- 1.0.0
- 作者:
- Max
- 另请参阅:
-
构造器概要
构造器构造器说明BizException(String message) 这个构造不推荐使用,如果对国际化没有要求的话可以使用,如果项目中涉及到国际化的话 推荐 BizException(Result result) 这种构造方式BizException(Result result) Constructs a new runtime exception withnullas its detail message. -
方法概要
-
构造器详细资料
-
BizException
Constructs a new runtime exception withnullas its detail message. The cause is not initialized, and may subsequently be initialized by a call toThrowable.initCause(java.lang.Throwable). -
BizException
这个构造不推荐使用,如果对国际化没有要求的话可以使用,如果项目中涉及到国际化的话 推荐 BizException(Result result) 这种构造方式- 参数:
message- 自定义错误信息
-