Class DockerErrorHandler

java.lang.Object
org.jclouds.docker.handlers.DockerErrorHandler
All Implemented Interfaces:
HttpErrorHandler

public class DockerErrorHandler extends Object implements 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.