Package com.azure.data.tables.models
Class TableServiceError
- java.lang.Object
-
- com.azure.data.tables.models.TableServiceError
-
public final class TableServiceError extends Object
A class that represents an error occurred in a Tables operation.
-
-
Constructor Summary
Constructors Constructor Description TableServiceError(String errorCode, String errorMessage)Create an instance ofTableServiceError.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TableErrorCodegetErrorCode()Get the service error code.StringgetErrorMessage()Get the error message.
-
-
-
Constructor Detail
-
TableServiceError
public TableServiceError(String errorCode, String errorMessage)
Create an instance ofTableServiceError.- Parameters:
errorCode- The service error code.errorMessage- The error message.
-
-
Method Detail
-
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.
-
-