Package icu.easyj.web.exception
Class HttpException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
icu.easyj.core.exception.BaseRuntimeException
icu.easyj.web.exception.HttpException
- All Implemented Interfaces:
Serializable
HTTP请求相关异常
- Author:
- wangliang181230
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionHttpException(int status, String message) HttpException(int status, String content, String message) HttpException(int status, String content, String message, String errorCode) HttpException(int status, String content, String message, String errorCode, Throwable cause) HttpException(int status, String content, String message, Throwable cause) HttpException(int status, String message, Throwable cause) -
Method Summary
Methods inherited from class icu.easyj.core.exception.BaseRuntimeException
getErrorCodeMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
HttpException
-
HttpException
-
HttpException
-
HttpException
-
HttpException
-
HttpException
-
-
Method Details
-
getStatus
public int getStatus() -
setStatus
public void setStatus(int status) -
getContent
-
setContent
-