Class BusinessException

All Implemented Interfaces:
Serializable

@Deprecated public class BusinessException extends RuntimeException
Deprecated.
业务异常处理
Author:
铭软开发团队-Administrator
See Also:
  • Constructor Details

    • BusinessException

      public BusinessException(String msg)
      Deprecated.
    • BusinessException

      public BusinessException(org.springframework.http.HttpStatus code, String msg, Object data)
      Deprecated.
    • BusinessException

      public BusinessException(String msg, Object data)
      Deprecated.
    • BusinessException

      public BusinessException(String msg, String url)
      Deprecated.
    • BusinessException

      public BusinessException(org.springframework.http.HttpStatus code, String msg)
      Deprecated.
      自定义异常信息
      Parameters:
      code - 错误码 HttpStatus
      msg - 错误信息
  • Method Details

    • getCode

      public org.springframework.http.HttpStatus getCode()
      Deprecated.
    • setCode

      public void setCode(org.springframework.http.HttpStatus code)
      Deprecated.
    • getMsg

      public String getMsg()
      Deprecated.
    • setMsg

      public void setMsg(String msg)
      Deprecated.
    • getData

      public Object getData()
      Deprecated.
    • setData

      public void setData(Object data)
      Deprecated.
    • getUrl

      public String getUrl()
      Deprecated.
    • setUrl

      public void setUrl(String url)
      Deprecated.