public class RestClientException extends Exception
RestClient hits an error condition.| Constructor and Description |
|---|
RestClientException() |
RestClientException(org.apache.http.HttpResponse httpResponse) |
RestClientException(org.apache.http.HttpResponse httpResponse,
String message) |
RestClientException(org.apache.http.HttpResponse httpResponse,
String message,
Throwable cause) |
RestClientException(org.apache.http.HttpResponse httpResponse,
Throwable cause) |
RestClientException(String message) |
RestClientException(String message,
Throwable cause) |
RestClientException(Throwable cause) |
| Modifier and Type | Method and Description |
|---|---|
org.apache.http.HttpResponse |
getHttpResponse()
If the exception occurred after a response was received, and that response is available
this will be that response.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic RestClientException()
public RestClientException(String message)
public RestClientException(Throwable cause)
public RestClientException(org.apache.http.HttpResponse httpResponse)
public RestClientException(org.apache.http.HttpResponse httpResponse,
String message,
Throwable cause)
public RestClientException(org.apache.http.HttpResponse httpResponse,
String message)
public RestClientException(org.apache.http.HttpResponse httpResponse,
Throwable cause)
Copyright © 2015 Red Hat, Inc.. All rights reserved.