Join us at MongoDB.local London on 7 May to unlock new possibilities for your data. Use WEB50 to save 50%.
Register now >
Docs Menu
Docs Home
/ /
io.realm.exceptions

Enum RealmFileException.Kind

java.lang.Object
io.realm.exceptions.RealmFileException.Kind

Enclosing class:

RealmFileException

The specific kind of this RealmFileException .

Enum Constant and Description

ERROR DE ACCESO

Thrown for any I/O related exception scenarios when a Realm is opened.

BAD_HISTORY

Se lanza si el tipo de historial del Realm en disco es inesperado o incompatible.

EXISTS

Se lanza si el archivo de destino existe pero no debería existir.

FORMAT_UPGRADE_REQUIRED

Thrown if the file needs to be upgraded to a new format, but upgrades have been explicitly disabled.

ARCHIVO DE BLOQUEO INCOMPATIBLE

Thrown if the database file is currently open in another process which cannot share with the current process due to an architecture mismatch.

INCOMPATIBLE_SYNC_FILE

Thrown if an attempt was made to open an Realm file created with Realm Object Server 1.*, which is not compatible with Realm Object Server 2.*.

NOT_FOUND

Se arroja si no se puede encontrar el archivo correspondiente.

PERMISSION_DENIED

Thrown if the user does not have permission to open or create the specified file in the specified access mode when the Realm is opened.

Modificador y Tipo
Método y descripción
  • Métodos heredados de la clase java.lang.Object: getClass , hashCode , equals , clone , toString , notify , notifyAll , wait , wait , wait , finalize

  • Métodos heredados de la clase java.lang.Enum : name , ordinal , toString , equals , hashCode , clone , compareTo , getDeclaringClass , valueOf , finalize

public static final RealmFileException.Kind

Thrown for any I/O related exception scenarios when a Realm is opened.

public static final RealmFileException.Kind

Se lanza si el tipo de historial del Realm en disco es inesperado o incompatible.

public static final RealmFileException.Kind

Se lanza si el archivo de destino existe pero no debería existir.

public static final RealmFileException.Kind

Thrown if the file needs to be upgraded to a new format, but upgrades have been explicitly disabled.

public static final RealmFileException.Kind

Thrown if the database file is currently open in another process which cannot share with the current process due to an architecture mismatch.

public static final RealmFileException.Kind

Se lanza si se intenta abrir un archivo de Realm creado con Realm Object Server 1.*, que no es compatible con Realm Object Server 2.*. Esta excepción debe ser manejada automáticamente por Realm.

public static final RealmFileException.Kind

Se arroja si no se puede encontrar el archivo correspondiente.

public static final RealmFileException.Kind

Thrown if the user does not have permission to open or create the specified file in the specified access mode when the Realm is opened.

Volver

io.realm.exceptions

En esta página