public class HttpErrorResponseException extends RuntimeException
| Modifier and Type | Field and Description |
|---|---|
static String |
KEY_PREFIX |
| Constructor and Description |
|---|
HttpErrorResponseException(org.jboss.resteasy.client.ClientResponseFailure e) |
HttpErrorResponseException(int httpStatus,
String entity) |
| Modifier and Type | Method and Description |
|---|---|
ErrorResponse |
createErrorResponse() |
String |
getEntity() |
int |
getHttpStatus() |
static HttpErrorResponseException |
parseSilently(ErrorResponse errorResponse) |
static HttpErrorResponseException |
parseSilently(String error,
String errorDescription) |
String |
toString() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTracepublic static final String KEY_PREFIX
public HttpErrorResponseException(int httpStatus,
String entity)
public HttpErrorResponseException(org.jboss.resteasy.client.ClientResponseFailure e)
public static HttpErrorResponseException parseSilently(ErrorResponse errorResponse)
public static HttpErrorResponseException parseSilently(String error, String errorDescription)
public ErrorResponse createErrorResponse()
public int getHttpStatus()
public String getEntity()
Copyright © 2018. All rights reserved.