StorageExtendedErrorInformation Class
- java.
lang. Object - Serializable
- com.
microsoft. azure. storage. StorageExtendedErrorInformation
- com.
public class StorageExtendedErrorInformation
Represents extended error information returned by the Microsoft Azure storage service.
Constructor Summary
Constructor | Description |
---|---|
StorageExtendedErrorInformation() |
Creates an instance of the class. |
Method Summary
Modifier and Type | Method and Description |
---|---|
HashMap<String, String[]> |
getAdditionalDetails()
Gets additional error details, as a object. |
String |
getErrorCode()
Gets the storage service error code.
|
String |
getErrorMessage()
Gets the storage service error message. |
void |
setAdditionalDetails(final HashMap<String, String[]> additionalDetails)
RESERVED FOR INTERNAL USE. Sets additional error details. |
void |
setErrorCode(final String errorCode)
RESERVED FOR INTERNAL USE. Sets the storage service error code. |
void |
setErrorMessage(final String errorMessage)
RESERVED FOR INTERNAL USE. Sets the storage service error message. |
Constructor Details
StorageExtendedErrorInformation
public StorageExtendedErrorInformation()
Creates an instance of the class.
Method Details
getAdditionalDetails
public HashMap
Gets additional error details, as a object.
Returns:
java.util.HashMap
of key/value pairs which contain the additional error details.getErrorCode
public String getErrorCode()
Gets the storage service error code.
<xreftitle>Deprecated</xreftitle>
<xrefdescription>
<p>use the property on <xref uid="com.microsoft.azure.storage.RequestResult" data-throw-if-not-resolved="false" data-raw-source="RequestResult"></xref> instead. </p>
</xrefdescription>
Returns:
String
which contains the error code.getErrorMessage
public String getErrorMessage()
Gets the storage service error message.
Returns:
String
which contains the error message.setAdditionalDetails
public void setAdditionalDetails(final HashMap
RESERVED FOR INTERNAL USE.
Sets additional error details.
Parameters:
java.util.HashMap
of key/value pairs which contain the additional error details.
setErrorCode
public void setErrorCode(final String errorCode)
RESERVED FOR INTERNAL USE.
Sets the storage service error code.
Parameters:
String
which contains the error code.
setErrorMessage
public void setErrorMessage(final String errorMessage)
RESERVED FOR INTERNAL USE.
Sets the storage service error message.
Parameters:
String
which contains the error message.
Applies to
Azure SDK for Java