Partager via


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