public class HttpClientException extends HttpException
| Constructor and Description |
|---|
HttpClientException(String message) |
HttpClientException(String message,
Throwable cause) |
HttpClientException(String message,
Throwable cause,
boolean shared) |
| Modifier and Type | Method and Description |
|---|---|
String |
getMessage() |
String |
getServiceId()
Get the service ID of the http client that produced this exception.
|
void |
setServiceId(String serviceId)
Set the service id that produced this exception.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic HttpClientException(String message)
message - The messagepublic HttpClientException(String message, Throwable cause)
message - The messagecause - The throwable@Nullable public final String getServiceId()
@Internal public final void setServiceId(String serviceId)
serviceId - The service idIllegalStateException - If the service ID has already been set, or this is a shared
exception (e.g. ReadTimeoutException).public String getMessage()
getMessage in class Throwable