StorageExtendedErrorInformation Class

  • java.lang.Object
    • Serializable
      • com.microsoft.azure.storage.StorageExtendedErrorInformation

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.

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

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

Gets additional error details, as a object.

Returns:

A 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:

A String which contains the error code.

getErrorMessage

public String getErrorMessage()

Gets the storage service error message.

Returns:

A String which contains the error message.

setAdditionalDetails

public void setAdditionalDetails(final HashMap additionalDetails)

RESERVED FOR INTERNAL USE.

Sets additional error details.

Parameters:

additionalDetails - A 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:

errorCode - A String which contains the error code.

setErrorMessage

public void setErrorMessage(final String errorMessage)

RESERVED FOR INTERNAL USE.

Sets the storage service error message.

Parameters:

errorMessage - A String which contains the error message.

Applies to