public class HttpErrorResponseException extends RuntimeException
| Modifier | Constructor and Description |
|---|---|
|
HttpErrorResponseException(int statusCode,
String statusDescription,
String responseMessage)
Constructs an HTTP error response exception with status code, status description, and response message.
|
|
HttpErrorResponseException(String message,
int statusCode,
String statusDescription,
String responseMessage)
Constructs an HTTP error response exception with a message, status code, status description, and response message.
|
protected |
HttpErrorResponseException(String message,
Throwable cause,
boolean enableSuppression,
boolean writableStackTrace,
int statusCode,
String statusDescription,
String responseMessage)
Constructs an HTTP error response exception with a message, cause, status code, status description, response message, and enable suppression and writable
stack trace booleans.
|
|
HttpErrorResponseException(String message,
Throwable cause,
int statusCode,
String statusDescription,
String responseMessage)
Constructs an HTTP error response exception with a message, cause, status code, status description, and response message.
|
|
HttpErrorResponseException(Throwable cause,
int statusCode,
String statusDescription,
String responseMessage)
Constructs an HTTP error response exception with a cause, status code, status description, and response message.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object object) |
String |
getResponseMessage() |
int |
getStatusCode() |
String |
getStatusDescription() |
int |
hashCode() |
String |
toString() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTracepublic HttpErrorResponseException(int statusCode,
String statusDescription,
String responseMessage)
statusCode - the status code.statusDescription - the status description.responseMessage - the response message.public HttpErrorResponseException(String message, int statusCode, String statusDescription, String responseMessage)
message - the message.statusCode - the status code.statusDescription - the status description.responseMessage - the response message.public HttpErrorResponseException(String message, Throwable cause, int statusCode, String statusDescription, String responseMessage)
message - the message.cause - the original cause.statusCode - the status code.statusDescription - the status description.responseMessage - the response message.public HttpErrorResponseException(Throwable cause, int statusCode, String statusDescription, String responseMessage)
cause - the original cause.statusCode - the status code.statusDescription - the status description.responseMessage - the response message.protected HttpErrorResponseException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace, int statusCode, String statusDescription, String responseMessage)
message - the message.cause - the original cause.enableSuppression - whether suppression should be enabled or not.writableStackTrace - whether the stack trace should be written or not.statusCode - the status code.statusDescription - the status description.responseMessage - the response message.Copyright © 2019. All rights reserved.