public final class RealmMigrationNeededException extends RuntimeException
Constructor and Description |
---|
RealmMigrationNeededException(String canonicalRealmPath,
String detailMessage) |
Modifier and Type | Method and Description |
---|---|
String |
getPath()
Returns the canonical path to the Realm file that needs to be migrated.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public String getPath()
This can be used for easy reference during a migration:
File.getCanonicalPath()