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 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()
-
-
-
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()
-
-