Class ParseAzureStorageErrorFromXmlContent
java.lang.Object
org.jclouds.azure.storage.handlers.ParseAzureStorageErrorFromXmlContent
- All Implemented Interfaces:
org.jclouds.http.HttpErrorHandler
- Direct Known Subclasses:
ParseAzureBlobErrorFromXmlContent
public class ParseAzureStorageErrorFromXmlContent
extends Object
implements org.jclouds.http.HttpErrorHandler
This will parse and set an appropriate exception on the command object.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Patternstatic final Patternprotected org.jclouds.logging.LoggerFields inherited from interface org.jclouds.http.HttpErrorHandler
NOOP -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidhandleError(org.jclouds.http.HttpCommand command, org.jclouds.http.HttpResponse response) protected ExceptionrefineException(org.jclouds.http.HttpCommand command, org.jclouds.http.HttpResponse response, Exception exception, AzureStorageError error, String message)
-
Field Details
-
logger
protected org.jclouds.logging.Logger logger -
CONTAINER_PATH
-
CONTAINER_KEY_PATH
-
-
Constructor Details
-
ParseAzureStorageErrorFromXmlContent
-
-
Method Details
-
handleError
public void handleError(org.jclouds.http.HttpCommand command, org.jclouds.http.HttpResponse response) - Specified by:
handleErrorin interfaceorg.jclouds.http.HttpErrorHandler
-
refineException
protected Exception refineException(org.jclouds.http.HttpCommand command, org.jclouds.http.HttpResponse response, Exception exception, AzureStorageError error, String message)
-