public class DockerRequestException extends DockerException
| Constructor and Description |
|---|
DockerRequestException(String method,
URI uri,
int status,
String responseBody,
Throwable cause) |
| Modifier and Type | Method and Description |
|---|---|
String |
getResponseBody()
The response body from the HTTP response containing an error, if any.
|
String |
message()
Deprecated.
use
getResponseBody() instead to avoid confusion with Throwable.getMessage(). |
String |
method() |
int |
status() |
URI |
uri() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic String method()
public URI uri()
public int status()
@Deprecated @Nullable public String message()
getResponseBody() instead to avoid confusion with Throwable.getMessage().Copyright © 2018. All rights reserved.