public final class MutateRowsException extends ApiException
Thrown by the MutateRows when at least one Mutation failed. If the last failure was caused by an RPC error (as opposed to a single entry failing), then this exception's cause will be set to that error and #getFailedMutations() will contain synthetic errors for all of the entries that were part of that RPC.
Inheritance
java.lang.Object > Throwable > java.lang.Exception > RuntimeException > ApiException > MutateRowsExceptionConstructors
MutateRowsException(Throwable rpcError, List<MutateRowsException.FailedMutation> failedMutations, boolean retryable)
public MutateRowsException(Throwable rpcError, List<MutateRowsException.FailedMutation> failedMutations, boolean retryable)
This constructor is considered an internal implementation detail and not meant to be used by applications.
Name | Description |
rpcError | Throwable |
failedMutations | List<FailedMutation> |
retryable | boolean |
Methods
getFailedMutations()
public List<MutateRowsException.FailedMutation> getFailedMutations()
Retrieve all of the failed mutations. This list will contain failures for all of the mutations that have failed across all of the retry attempts so far.
Type | Description |
List<FailedMutation> |