Class DockerRequestException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.spotify.docker.client.exceptions.DockerException
com.spotify.docker.client.exceptions.DockerRequestException
- All Implemented Interfaces:
Serializable
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionDockerRequestException
(String method, URI uri, int status, String responseBody, Throwable cause) -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
method
-
uri
-
status
private final int status -
responseBody
-
-
Constructor Details
-
DockerRequestException
-
-
Method Details
-
method
-
uri
-
status
public int status() -
message
Deprecated.usegetResponseBody()
instead to avoid confusion withThrowable.getMessage()
.The response body from the HTTP response containing an error, if any. -
getResponseBody
The response body from the HTTP response containing an error, if any.- Returns:
- response body or null.
-
getResponseBody()
instead to avoid confusion withThrowable.getMessage()
.