Package net.mingsoft.basic.exception
Class BusinessException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
net.mingsoft.basic.exception.BusinessException
- All Implemented Interfaces:
Serializable
Deprecated.
业务异常处理
- Author:
- 铭软开发团队-Administrator
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionBusinessException(String msg) Deprecated.BusinessException(String msg, Object data) Deprecated.BusinessException(String msg, String url) Deprecated.BusinessException(org.springframework.http.HttpStatus code, String msg) Deprecated.自定义异常信息BusinessException(org.springframework.http.HttpStatus code, String msg, Object data) Deprecated. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
BusinessException
Deprecated. -
BusinessException
Deprecated. -
BusinessException
Deprecated. -
BusinessException
Deprecated. -
BusinessException
Deprecated.自定义异常信息- Parameters:
code- 错误码 HttpStatusmsg- 错误信息
-
-
Method Details
-
getCode
public org.springframework.http.HttpStatus getCode()Deprecated. -
setCode
public void setCode(org.springframework.http.HttpStatus code) Deprecated. -
getMsg
Deprecated. -
setMsg
Deprecated. -
getData
Deprecated. -
setData
Deprecated. -
getUrl
Deprecated. -
setUrl
Deprecated.
-