TableServiceError Class
- java.
lang. Object - com.
azure. data. tables. models. TableServiceError
- com.
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 |
---|---|
Table |
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for Java