public class DockerEngineException extends RuntimeException
| Constructor and Description |
|---|
DockerEngineException(String host,
URI uri,
int statusCode,
String reasonPhrase,
Errors errors,
Message responseMessage) |
| Modifier and Type | Method and Description |
|---|---|
Errors |
getErrors()
Return the errors from the body of the Docker API response, or
null if the
errors JSON could not be read. |
String |
getReasonPhrase()
Return the reason phrase returned by the Docker API.
|
Message |
getResponseMessage()
Return the message from the body of the Docker API response, or
null if the
message JSON could not be read. |
int |
getStatusCode()
Return the status code returned by the Docker API.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic int getStatusCode()
public String getReasonPhrase()
public Errors getErrors()
null if the
errors JSON could not be read.nullpublic Message getResponseMessage()
null if the
message JSON could not be read.null