FirebaseException

public classFirebaseException extendsException
Known Direct Subclasses
FirebaseApiNotAvailableExceptionIndicates that a requested API is not available. 
FirebaseAppIndexingExceptionClass of exceptions thrown by the Firebase App Indexing API. 
FirebaseAuthExceptionGeneric exception related to Firebase Authentication. 
FirebaseFirestoreExceptionA class of exceptions thrown by Firestore  
FirebaseNetworkExceptionException thrown when a request to a Firebase service has failed due to a network error. 
FirebaseRemoteConfigExceptionBase class for FirebaseRemoteConfig exceptions. 
FirebaseTooManyRequestsExceptionException thrown when a request to a Firebase service has been blocked due to having received too many consecutive requests from the same device. 
StorageExceptionRepresents an Exception resulting from an operation on aStorageReference
Known Indirect Subclasses
FirebaseAppIndexingInvalidArgumentExceptionThe exception that is thrown if an invalid argument is provided to one of the Firebase App Indexing API methods. 
FirebaseAppIndexingTooManyArgumentsExceptionThe exception that is thrown if the number of arguments passed to a Firebase App Indexing API method in a single call exceeds the allowed maximum ofIndexable.MAX_INDEXABLES_TO_BE_UPDATED_IN_ONE_CALL
FirebaseAuthActionCodeExceptionRepresents the exception which is a result of an expired or an invalid out of band code. 
FirebaseAuthEmailExceptionRepresents the exception which is a result of an attempt to send an email via Firebase Auth (e.g. 
FirebaseAuthInvalidCredentialsExceptionThrown when one or more of the credentials passed to a method fail to identify and/or authenticate the user subject of that operation. 
FirebaseAuthInvalidUserExceptionThrown when performing an operation on aFirebaseUser instance that is no longer valid. 
FirebaseAuthRecentLoginRequiredExceptionThrown on security sensitive operations on aFirebaseUser instance that require the user to have signed in recently, when the requirement isn't met. 
FirebaseAuthUserCollisionExceptionThrown when an operation on aFirebaseUser instance couldn't be completed due to a conflict with another existing user. 
FirebaseAuthWeakPasswordExceptionThrown when using a weak password (less than 6 chars) to create a new account or to update an existing account's password. 
FirebaseRemoteConfigFetchExceptionException thrown when the fetch() operation cannot be completed successfully. 
FirebaseRemoteConfigFetchThrottledExceptionException thrown when the fetch() operation cannot be completed successfully, due to throttling. 

Base class for all Firebase exceptions.

Public Constructor Summary

FirebaseException(String detailMessage)
FirebaseException(String detailMessage,Throwable cause)

Protected Constructor Summary

Inherited Method Summary

From class java.lang.Throwable
synchronized final void
addSuppressed(Throwable arg0)
synchronizedThrowable
fillInStackTrace()
synchronizedThrowable
getCause()
String
getLocalizedMessage()
String
getMessage()
StackTraceElement[]
getStackTrace()
synchronized finalThrowable[]
getSuppressed()
synchronizedThrowable
initCause(Throwable arg0)
void
printStackTrace()
void
printStackTrace(PrintWriter arg0)
void
printStackTrace(PrintStream arg0)
void
setStackTrace(StackTraceElement[] arg0)
String
toString()
From class java.lang.Object
Object
clone()
boolean
equals(Object arg0)
void
finalize()
finalClass<?>
getClass()
int
hashCode()
final void
notify()
final void
notifyAll()
String
toString()
final void
wait(long arg0, int arg1)
final void
wait(long arg0)
final void
wait()

Public Constructors

publicFirebaseException(String detailMessage)

publicFirebaseException(String detailMessage,Throwable cause)

Protected Constructors

protectedFirebaseException()

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2020-08-08 UTC.