org.jclouds.azure.storage
Class AzureStorageResponseException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.jclouds.http.HttpResponseException
                  extended by org.jclouds.azure.storage.AzureStorageResponseException
All Implemented Interfaces:
Serializable

public class AzureStorageResponseException
extends HttpResponseException

Encapsulates an Error from Azure Storage Services.

Author:
Adrian Cole
See Also:
, AzureStorageError, org.jclouds.aws.handlers.ParseAzureStorageErrorFromXmlContent, Serialized Form

Field Summary
 
Fields inherited from class org.jclouds.http.HttpResponseException
command, response
 
Constructor Summary
AzureStorageResponseException(HttpCommand command, HttpResponse response, AzureStorageError error)
           
AzureStorageResponseException(HttpCommand command, HttpResponse response, AzureStorageError error, Throwable cause)
           
AzureStorageResponseException(String message, HttpCommand command, HttpResponse response, AzureStorageError error)
           
AzureStorageResponseException(String message, HttpCommand command, HttpResponse response, AzureStorageError error, Throwable cause)
           
 
Method Summary
 AzureStorageError getError()
           
 void setError(AzureStorageError error)
           
 
Methods inherited from class org.jclouds.http.HttpResponseException
getCommand, getContent, getResponse, setContent
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AzureStorageResponseException

public AzureStorageResponseException(HttpCommand command,
                                     HttpResponse response,
                                     AzureStorageError error)

AzureStorageResponseException

public AzureStorageResponseException(HttpCommand command,
                                     HttpResponse response,
                                     AzureStorageError error,
                                     Throwable cause)

AzureStorageResponseException

public AzureStorageResponseException(String message,
                                     HttpCommand command,
                                     HttpResponse response,
                                     AzureStorageError error)

AzureStorageResponseException

public AzureStorageResponseException(String message,
                                     HttpCommand command,
                                     HttpResponse response,
                                     AzureStorageError error,
                                     Throwable cause)
Method Detail

setError

public void setError(AzureStorageError error)

getError

public AzureStorageError getError()


Copyright © 2009-2011 jclouds. All Rights Reserved.