Interface BaseException

All Known Implementing Classes:
ArgumentException, BaseCheckedException, BaseUncheckedException, BizException, CommonException, ForbiddenException, UnauthorizedException

public interface BaseException
异常接口类
Version:
1.0
Author:
zuihou
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
    统一参数验证异常码
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    返回异常编码
    返回异常信息
  • Field Details

    • BASE_VALID_PARAM

      static final int BASE_VALID_PARAM
      统一参数验证异常码
      See Also:
  • Method Details

    • getMessage

      String getMessage()
      返回异常信息
      Returns:
      异常信息
    • getCode

      int getCode()
      返回异常编码
      Returns:
      异常编码