Class ArtifactoryErrorHandler
- java.lang.Object
-
- com.cdancy.artifactory.rest.handlers.ArtifactoryErrorHandler
-
- All Implemented Interfaces:
HttpErrorHandler
public class ArtifactoryErrorHandler extends Object implements HttpErrorHandler
This will parse and set an appropriate exception on the command object.
-
-
Field Summary
Fields Modifier and Type Field Description protected Loggerlogger-
Fields inherited from interface org.jclouds.http.HttpErrorHandler
NOOP
-
-
Constructor Summary
Constructors Constructor Description ArtifactoryErrorHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidhandleError(HttpCommand command, HttpResponse response)StringparseMessage(HttpResponse response)
-
-
-
Field Detail
-
logger
protected Logger logger
-
-
Method Detail
-
handleError
public void handleError(HttpCommand command, HttpResponse response)
- Specified by:
handleErrorin interfaceHttpErrorHandler
-
parseMessage
public String parseMessage(HttpResponse response)
-
-