Docs Menu

Docs HomeRealm

Exception RealmMigrationNeededException

On this page

  • io.realm.exceptions
  • Constructors
  • Method Summary
  • Inherited Methods
  • Constructor Detail
  • Method Detail
  • getPath
java.lang.Object
io.realm.exceptions.RealmMigrationNeededException
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 RealmFileExceptionException RealmPrimaryKeyConstraintException →
Share Feedback
© 2023 MongoDB, Inc.

About

  • Careers
  • Investor Relations
  • Legal Notices
  • Privacy Notices
  • Security Information
  • Trust Center
© 2023 MongoDB, Inc.