FirebaseRemoteConfigException

public class FirebaseRemoteConfigException extends FirebaseException

Known direct subclasses
FirebaseRemoteConfigClientException

A Firebase Remote Config internal issue that isn't caused by an interaction with the Firebase Remote Config server.

FirebaseRemoteConfigFetchThrottledException

An exception thrown when a fetch call is throttled.

FirebaseRemoteConfigServerException

A Firebase Remote Config internal issue caused by an interaction with the Firebase Remote Config server.


Base class for FirebaseRemoteConfig exceptions.

Summary

Nested types

Public fields

final FirebaseRemoteConfigException.Code

Code that specifies the type of exception.

Public constructors

Creates a Firebase Remote Config exception with the given message.

FirebaseRemoteConfigException(
    @NonNull String detailMessage,
    @Nullable Throwable cause
)

Creates a Firebase Remote Config exception with the given message and cause.

Creates a Firebase Remote Config exception with the given message and Code.

Creates a Firebase Remote Config exception with the given message, cause, and Code.

Public methods

@NonNull FirebaseRemoteConfigException.Code

Gets the Code representing the type of exception.

Inherited methods

From java.lang.Throwable
synchronized final void
synchronized Throwable
synchronized Throwable
String
String
StackTraceElement[]
synchronized final Throwable[]
synchronized Throwable
void
void
setStackTrace(StackTraceElement[] stackTrace)
String

Public fields

code

public final FirebaseRemoteConfigException.Code code

Code that specifies the type of exception.

Public constructors

FirebaseRemoteConfigException

public FirebaseRemoteConfigException(@NonNull String detailMessage)

Creates a Firebase Remote Config exception with the given message.

FirebaseRemoteConfigException

public FirebaseRemoteConfigException(
    @NonNull String detailMessage,
    @Nullable Throwable cause
)

Creates a Firebase Remote Config exception with the given message and cause.

FirebaseRemoteConfigException

public FirebaseRemoteConfigException(
    @NonNull String detailMessage,
    @NonNull FirebaseRemoteConfigException.Code code
)

Creates a Firebase Remote Config exception with the given message and Code.

FirebaseRemoteConfigException

public FirebaseRemoteConfigException(
    @NonNull String detailMessage,
    @Nullable Throwable cause,
    @NonNull FirebaseRemoteConfigException.Code code
)

Creates a Firebase Remote Config exception with the given message, cause, and Code.

Public methods

getCode

public @NonNull FirebaseRemoteConfigException.Code getCode()

Gets the Code representing the type of exception.

Returns
@NonNull FirebaseRemoteConfigException.Code

A Code representing the type of exception.