public final class TableTransactionFailedException extends TableServiceException
TableServiceError information.| Constructor and Description |
|---|
TableTransactionFailedException(String message,
com.azure.core.http.HttpResponse response,
TableServiceError value,
Integer failedTransactionActionIndex)
Initializes a new instance of the
TableTransactionFailedException class. |
| Modifier and Type | Method and Description |
|---|---|
Integer |
getFailedTransactionActionIndex()
Get the index position of the failed
TableTransactionAction in the collection submitted to
TableClient.submitTransaction(List),
TableClient.submitTransactionWithResponse(List, Duration, Context),
TableAsyncClient.submitTransaction(List) or TableAsyncClient.submitTransactionWithResponse(List)
which caused the transaction to fail. |
getValueaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic TableTransactionFailedException(String message, com.azure.core.http.HttpResponse response, TableServiceError value, Integer failedTransactionActionIndex)
TableTransactionFailedException class.message - The exception message or the response content if a message is not available.response - The HTTP response.value - The deserialized response value.failedTransactionActionIndex - The index position of the failed TableTransactionAction in the
collection submitted to TableClient.submitTransaction(List),
TableClient.submitTransactionWithResponse(List, Duration, Context),
TableAsyncClient.submitTransaction(List) or TableAsyncClient.submitTransactionWithResponse(List)
which caused the transaction to fail. If null, it means the service did not indicate which
TableTransactionAction failed.public Integer getFailedTransactionActionIndex()
TableTransactionAction in the collection submitted to
TableClient.submitTransaction(List),
TableClient.submitTransactionWithResponse(List, Duration, Context),
TableAsyncClient.submitTransaction(List) or TableAsyncClient.submitTransactionWithResponse(List)
which caused the transaction to fail. If null, it means the service did not indicate which
TableTransactionAction failed.TableTransactionAction.Copyright © 2021 Microsoft Corporation. All rights reserved.