Package | Description |
---|---|
com.google.cloud.firestore |
Modifier and Type | Class and Description |
---|---|
class |
BulkWriterException
The error thrown when a BulkWriter operation fails.
|
Modifier and Type | Method and Description |
---|---|
static FirestoreException |
FirestoreException.forApiException(com.google.api.gax.rpc.ApiException exception)
Creates a FirestoreException from an ApiException.
|
static FirestoreException |
FirestoreException.forApiException(com.google.api.gax.rpc.ApiException exception,
String message)
Creates a FirestoreException from an ApiException.
|
static FirestoreException |
FirestoreException.forInvalidArgument(String message,
Object... params)
Creates a FirestoreException with an
INVALID_ARGUMENT status code and the provided
message in a nested exception. |
static FirestoreException |
FirestoreException.forIOException(IOException exception,
boolean retryable)
Creates a FirestoreException from an IOException.
|
static FirestoreException |
FirestoreException.forServerRejection(io.grpc.Status status,
String message,
Object... params)
Creates a FirestoreException with the provided GRPC Status code and message in a nested
exception.
|
static FirestoreException |
FirestoreException.forServerRejection(io.grpc.Status status,
Throwable cause,
String message,
Object... params)
Creates a FirestoreException with the provided GRPC Status code and message in a nested
exception.
|
Modifier and Type | Method and Description |
---|---|
void |
EventListener.onEvent(T value,
FirestoreException error)
onEvent will be called with the new value or the error if an error occurred.
|
Copyright © 2023 Google LLC. All rights reserved.