Exception MutateRowsException (2.28.0)

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.

Constructors

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.

Parameters
NameDescription
rpcErrorThrowable
failedMutationsList<FailedMutation>
retryableboolean

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.

Returns
TypeDescription
List<FailedMutation>