org.jclouds.azure.storage.domain
Class AzureStorageError

java.lang.Object
  extended by org.jclouds.azure.storage.domain.AzureStorageError

public class AzureStorageError
extends Object

When an Azure Storage request is in error, the client receives an error response.

Author:
Adrian Cole
See Also:

Constructor Summary
AzureStorageError()
           
 
Method Summary
 String getCode()
           
 Map<String,String> getDetails()
           
 String getMessage()
           
 String getRequestId()
          If a request is consistently failing and you have verified that the request is properly formulated, you may use this value to report the error to Microsoft.
 String getSignature()
           
 String getStringSigned()
           
 void setCode(String code)
           
 void setDetails(Map<String,String> context)
           
 void setMessage(String message)
           
 void setRequestId(String requestId)
           
 void setSignature(String signature)
           
 void setStringSigned(String stringSigned)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AzureStorageError

public AzureStorageError()
Method Detail

toString

public String toString()
Overrides:
toString in class Object

setCode

public void setCode(String code)

getCode

public String getCode()

setMessage

public void setMessage(String message)

getMessage

public String getMessage()

setRequestId

public void setRequestId(String requestId)

getRequestId

public String getRequestId()
If a request is consistently failing and you have verified that the request is properly formulated, you may use this value to report the error to Microsoft. In your report, include the value of x-ms-request-id, the approximate time that the request was made, the storage service against which the request was made, and the type of operation that the request attempted


setStringSigned

public void setStringSigned(String stringSigned)

getStringSigned

public String getStringSigned()
Returns:
what jclouds signed before sending the request.

setDetails

public void setDetails(Map<String,String> context)

getDetails

public Map<String,String> getDetails()
Returns:
additional details surrounding the error.

setSignature

public void setSignature(String signature)

getSignature

public String getSignature()


Copyright © 2009-2012 jclouds. All Rights Reserved.