Client API. The Codename One framework your app is built on: this runs on the device, not in a backend.

public class FirestoreException

  1. Object
  2. Throwable
  3. Exception
  4. RuntimeException
  5. FirestoreException
The error a Firestore or Remote Config request completes with when the server rejects it or cannot be reached.

Constructors

public FirestoreException(int status, String message)Creates an exception.

Methods

public int getStatus()

Inherited methods

Constructor details

FirestoreException

public FirestoreException(int status, String message)
Creates an exception.

Parameters

status int
the HTTP status, or 0 for a network failure
message String
the server message or response body

Method details

getStatus

public int getStatus()

Returns

the HTTP status, or 0 for a network failure