org.jclouds.azure.storage.handlers
Class ParseAzureStorageErrorFromXmlContent
java.lang.Object
org.jclouds.azure.storage.handlers.ParseAzureStorageErrorFromXmlContent
- All Implemented Interfaces:
- org.jclouds.http.HttpErrorHandler
public class ParseAzureStorageErrorFromXmlContent
- extends Object
- implements org.jclouds.http.HttpErrorHandler
This will parse and set an appropriate exception on the command object.
- See Also:
AzureStorageError
| Fields inherited from interface org.jclouds.http.HttpErrorHandler |
NOOP |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
logger
protected org.jclouds.logging.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(org.jclouds.http.HttpCommand command,
org.jclouds.http.HttpResponse response)
- Specified by:
handleError in interface org.jclouds.http.HttpErrorHandler
refineException
protected Exception refineException(org.jclouds.http.HttpCommand command,
org.jclouds.http.HttpResponse response,
Exception exception,
AzureStorageError error,
String message)
Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.