| java.lang.Object | |||
| ↳ | java.lang.Throwable | ||
| ↳ | java.lang.Exception | ||
| ↳ | com.google.firebase.FirebaseException | ||
Known Direct Subclasses
|
Base class for all Firebase exceptions.
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| FirebaseException(ErrorCode errorCode, String message, Throwable cause, IncomingHttpResponse httpResponse) | |||||||||||
| FirebaseException(ErrorCode errorCode, String message, Throwable cause) | |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| final ErrorCode |
getErrorCode()
Returns the platform-wide error code associated with this exception.
| ||||||||||
| final IncomingHttpResponse |
getHttpResponse()
Returns the HTTP response that resulted in this exception.
| ||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Throwable
| |||||||||||
From class
java.lang.Object
| |||||||||||
Returns the platform-wide error code associated with this exception.
Returns the HTTP response that resulted in this exception. If the exception was not caused by an HTTP error response, returns null.