类 BizException

所有已实现的接口:
Serializable

public class BizException extends RuntimeException
自定义业务异常
从以下版本开始:
2023/2/17 20:54
版本:
1.0.0
作者:
Max
另请参阅:
  • 构造器详细资料

    • BizException

      public BizException(Result result)
      Constructs a new runtime exception with null as its detail message. The cause is not initialized, and may subsequently be initialized by a call to Throwable.initCause(java.lang.Throwable).
    • BizException

      public BizException(String message)
      这个构造不推荐使用,如果对国际化没有要求的话可以使用,如果项目中涉及到国际化的话 推荐 BizException(Result result) 这种构造方式
      参数:
      message - 自定义错误信息