Package org.jclouds.docker.handlers
Class DockerErrorHandler
java.lang.Object
org.jclouds.docker.handlers.DockerErrorHandler
- All Implemented Interfaces:
HttpErrorHandler
This will parse and set an appropriate exception on the command object.
Errors are returned with an appropriate HTTP status code, an X-Elastic- Error header specifying
the error type, and a text description in the HTTP body.
-
Field Summary
FieldsFields inherited from interface org.jclouds.http.HttpErrorHandler
NOOP
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
handleError
(HttpCommand command, HttpResponse response) parseMessage
(HttpResponse response)
-
Field Details
-
logger
-
-
Constructor Details
-
DockerErrorHandler
public DockerErrorHandler()
-
-
Method Details
-
handleError
- Specified by:
handleError
in interfaceHttpErrorHandler
-
parseMessage
-