public class DockerException extends RuntimeException
Modifier and Type | Method and Description |
---|---|
Errors |
getErrors()
Return the Errors from the body of the Docker API error, or
null if the
error JSON could not be read. |
String |
getReasonPhrase()
Return the reason phrase returned by the Docker API error.
|
int |
getStatusCode()
Return the status code returned by the Docker API.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public int getStatusCode()
public String getReasonPhrase()
public Errors getErrors()
null
if the
error JSON could not be read.null