Package org.jclouds.azure.storage.domain
Class AzureStorageError
- java.lang.Object
-
- 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.
-
-
Constructor Summary
Constructors Constructor Description AzureStorageError()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetCode()Map<String,String>getDetails()StringgetMessage()StringgetRequestId()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.StringgetSignature()StringgetStringSigned()voidsetCode(String code)voidsetDetails(Map<String,String> context)voidsetMessage(String message)voidsetRequestId(String requestId)voidsetSignature(String signature)voidsetStringSigned(String stringSigned)StringtoString()
-
-
-
Method Detail
-
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.
-
getDetails
public Map<String,String> getDetails()
- Returns:
- additional details surrounding the error.
-
setSignature
public void setSignature(String signature)
-
getSignature
public String getSignature()
-
-