public class ErrorResponseException extends RuntimeException
Constructor and Description |
---|
ErrorResponseException(org.apache.http.client.methods.CloseableHttpResponse response,
String msg) |
ErrorResponseException(org.apache.http.client.methods.CloseableHttpResponse response,
String msg,
String responseString) |
ErrorResponseException(org.apache.http.client.methods.CloseableHttpResponse response,
String msg,
Throwable cause) |
ErrorResponseException(ErrorResponseException e,
String message) |
Modifier and Type | Method and Description |
---|---|
static ErrorResponseException |
fromResponseMessage(org.apache.http.client.methods.CloseableHttpResponse response) |
static ErrorResponseException |
fromResponseMessage(org.apache.http.client.methods.CloseableHttpResponse response,
boolean readErrorString) |
Etag |
getEtag() |
org.apache.http.client.methods.CloseableHttpResponse |
getResponse() |
String |
getResponseString() |
int |
getStatusCode() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public ErrorResponseException(ErrorResponseException e, String message)
public ErrorResponseException(org.apache.http.client.methods.CloseableHttpResponse response, String msg)
public ErrorResponseException(org.apache.http.client.methods.CloseableHttpResponse response, String msg, Throwable cause)
public int getStatusCode()
public static ErrorResponseException fromResponseMessage(org.apache.http.client.methods.CloseableHttpResponse response)
public static ErrorResponseException fromResponseMessage(org.apache.http.client.methods.CloseableHttpResponse response, boolean readErrorString)
public org.apache.http.client.methods.CloseableHttpResponse getResponse()
public String getResponseString()
public Etag getEtag()
Copyright © 2016. All Rights Reserved.