你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

TableServiceError Class

  • java.lang.Object
    • com.azure.data.tables.models.TableServiceError

public final class TableServiceError

A class that represents an error occurred in a Tables operation.

Constructor Summary

Constructor Description
TableServiceError(String errorCode, String errorMessage)

Create an instance of TableServiceError.

Method Summary

Modifier and Type Method and Description
TableErrorCode getErrorCode()

Get the service error code.

String getErrorMessage()

Get the error message.

Methods inherited from java.lang.Object

Constructor Details

TableServiceError

public TableServiceError(String errorCode, String errorMessage)

Create an instance of TableServiceError.

Parameters:

errorCode - The service error code.
errorMessage - The error message.

Method Details

getErrorCode

public TableErrorCode getErrorCode()

Get the service error code.

Returns:

The service error code.

getErrorMessage

public String getErrorMessage()

Get the error message.

Returns:

The error message.

Applies to