Docs Menu

Docs HomeDevelop ApplicationsAtlas Device SDKs

Exception RealmMigrationNeededException

On this page

  • io.realm.exceptions
  • Constructors
  • Method Summary
  • Inherited Methods
  • Constructor Detail
  • Method Detail
  • getPath
Constructor and Description
String canonicalRealmPath,
String detailMessage
)
Modifier and Type
Method and Description
public String

Returns the canonical path to the Realm file that needs to be migrated.

  • Methods inherited from class java.lang.Object : getClass , hashCode , equals , clone , toString , notify , notifyAll , wait , wait , wait , finalize

  • Methods inherited from class java.lang.Throwable : getMessage , getLocalizedMessage , getCause , initCause , toString , printStackTrace , printStackTrace , printStackTrace , fillInStackTrace , getStackTrace , setStackTrace , addSuppressed , getSuppressed

String canonicalRealmPath,
String detailMessage
)
public String getPath ()

Returns the canonical path to the Realm file that needs to be migrated.This can be used for easy reference during a migration:

Returns

Canonical path to the Realm file.

Tip

See also:

← Exception RealmFileException