org.jclouds.azure.storage.handlers
Class ParseAzureStorageErrorFromXmlContent
java.lang.Object
org.jclouds.azure.storage.handlers.ParseAzureStorageErrorFromXmlContent
- All Implemented Interfaces:
- HttpErrorHandler
- Direct Known Subclasses:
- ParseAzureBlobErrorFromXmlContent
public class ParseAzureStorageErrorFromXmlContent
- extends Object
- implements HttpErrorHandler
This will parse and set an appropriate exception on the command object.
- Author:
- Adrian Cole
- See Also:
AzureStorageError
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
logger
protected Logger logger
CONTAINER_PATH
public static final Pattern CONTAINER_PATH
CONTAINER_KEY_PATH
public static final Pattern CONTAINER_KEY_PATH
ParseAzureStorageErrorFromXmlContent
@Inject
public ParseAzureStorageErrorFromXmlContent(AzureStorageUtils utils)
handleError
public void handleError(HttpCommand command,
HttpResponse response)
- Specified by:
handleError
in interface HttpErrorHandler
refineException
protected Exception refineException(HttpCommand command,
HttpResponse response,
Exception exception,
AzureStorageError error,
String message)
Copyright © 2009-2011 jclouds. All Rights Reserved.