Uses of Class
com.google.cloud.firestore.FirestoreException
Packages that use FirestoreException
-
Uses of FirestoreException in com.google.cloud.firestore
Subclasses of FirestoreException in com.google.cloud.firestoreModifier and TypeClassDescriptionfinal classThe error thrown when a BulkWriter operation fails.Methods in com.google.cloud.firestore that return FirestoreExceptionModifier and TypeMethodDescriptionstatic FirestoreExceptionFirestoreException.forApiException(com.google.api.gax.rpc.ApiException exception) Creates a FirestoreException from an ApiException.static FirestoreExceptionFirestoreException.forApiException(com.google.api.gax.rpc.ApiException exception, String message) Creates a FirestoreException from an ApiException.static FirestoreExceptionFirestoreException.forInvalidArgument(String message, Object... params) Creates a FirestoreException with anINVALID_ARGUMENTstatus code and the provided message in a nested exception.static FirestoreExceptionFirestoreException.forIOException(IOException exception, boolean retryable) Creates a FirestoreException from an IOException.static FirestoreExceptionFirestoreException.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 FirestoreExceptionFirestoreException.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.Methods in com.google.cloud.firestore with parameters of type FirestoreExceptionModifier and TypeMethodDescriptionvoidEventListener.onEvent(T value, FirestoreException error) onEvent will be called with the new value or the error if an error occurred.