Class MutateRowsException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.google.api.gax.rpc.ApiException
com.google.cloud.bigtable.data.v2.models.MutateRowsException
- All Implemented Interfaces:
Serializable
public final class MutateRowsException
extends com.google.api.gax.rpc.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.- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Identifies which mutation failed and the reason it failed. -
Constructor Summary
ConstructorDescriptionMutateRowsException
(Throwable rpcError, List<MutateRowsException.FailedMutation> failedMutations, boolean retryable) This constructor is considered an internal implementation detail and not meant to be used by applications. -
Method Summary
Modifier and TypeMethodDescriptionRetrieve all of the failed mutations.Methods inherited from class com.google.api.gax.rpc.ApiException
getDomain, getErrorDetails, getMetadata, getReason, getStatusCode, isRetryable
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
MutateRowsException
@InternalApi public MutateRowsException(@Nullable Throwable rpcError, @Nonnull List<MutateRowsException.FailedMutation> failedMutations, boolean retryable) This constructor is considered an internal implementation detail and not meant to be used by applications.
-
-
Method Details
-
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.
-