public class HttpException extends BaseRuntimeException
| Constructor and Description |
|---|
HttpException(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) |
| Modifier and Type | Method and Description |
|---|---|
String |
getContent() |
int |
getStatus() |
void |
setContent(String content) |
void |
setStatus(int status) |
getErrorCodeaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic HttpException(int status,
String message)
Copyright © 2021–2023 EasyJ开源社区. All rights reserved.