FirebaseRemoteConfigServerException

public class FirebaseRemoteConfigServerException extends FirebaseRemoteConfigException


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

Summary

Public fields

final int

Public constructors

Creates a Firebase Remote Config server exception with the given message and FirebaseRemoteConfigException code.

FirebaseRemoteConfigServerException(
    int httpStatusCode,
    @NonNull String detailMessage
)

Creates a Firebase Remote Config server exception with the given message and HTTP status code.

Creates a Firebase Remote Config server exception with the given message, exception cause, and FirebaseRemoteConfigException code.

FirebaseRemoteConfigServerException(
    int httpStatusCode,
    @NonNull String detailMessage,
    @Nullable Throwable cause
)

Creates a Firebase Remote Config server exception with the given message, HTTP status code and

FirebaseRemoteConfigServerException(
    int httpStatusCode,
    @NonNull String detailMessage,
    @NonNull FirebaseRemoteConfigException.Code code
)

Creates a Firebase Remote Config server exception with the HTTP status code, given message, and FirebaseRemoteConfigException code.

FirebaseRemoteConfigServerException(
    int httpStatusCode,
    @NonNull String detailMessage,
    @Nullable Throwable cause,
    @NonNull FirebaseRemoteConfigException.Code code
)

Creates a Firebase Remote Config server exception with the HTTP status code, given message, exception cause, and FirebaseRemoteConfigException code.

Public methods

int

Gets the HTTP status code of the failed Firebase Remote Config server operation.

Inherited fields

From com.google.firebase.remoteconfig.FirebaseRemoteConfigException
final FirebaseRemoteConfigException.Code

Code that specifies the type of exception.

Inherited methods

From com.google.firebase.remoteconfig.FirebaseRemoteConfigException
@NonNull FirebaseRemoteConfigException.Code

Gets the Code representing the type of exception.

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

httpStatusCode

public final int httpStatusCode

Public constructors

FirebaseRemoteConfigServerException

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

Creates a Firebase Remote Config server exception with the given message and FirebaseRemoteConfigException code.

FirebaseRemoteConfigServerException

public FirebaseRemoteConfigServerException(
    int httpStatusCode,
    @NonNull String detailMessage
)

Creates a Firebase Remote Config server exception with the given message and HTTP status code.

FirebaseRemoteConfigServerException

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

Creates a Firebase Remote Config server exception with the given message, exception cause, and FirebaseRemoteConfigException code.

FirebaseRemoteConfigServerException

public FirebaseRemoteConfigServerException(
    int httpStatusCode,
    @NonNull String detailMessage,
    @Nullable Throwable cause
)

Creates a Firebase Remote Config server exception with the given message, HTTP status code and

FirebaseRemoteConfigServerException

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

Creates a Firebase Remote Config server exception with the HTTP status code, given message, and FirebaseRemoteConfigException code.

FirebaseRemoteConfigServerException

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

Creates a Firebase Remote Config server exception with the HTTP status code, given message, exception cause, and FirebaseRemoteConfigException code.

Public methods

getHttpStatusCode

public int getHttpStatusCode()

Gets the HTTP status code of the failed Firebase Remote Config server operation.