public class DockerEngineException
extends java.lang.RuntimeException
| Constructor and Description |
|---|
DockerEngineException(java.lang.String host,
java.net.URI uri,
int statusCode,
java.lang.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. |
java.lang.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.
|
public int getStatusCode()
public java.lang.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