Docs 菜单
Docs 主页
/ /
Atlas Device SDKs
/ / /

异常 RealmMigrationNeededException

java.lang.Object
io.realm.exceptions.RealmMigrationNeededException
构造函数和描述
String canonicalRealmPath,
String detailMessage
)
修饰符和类型
方法和说明

public String

返回需要迁移的 Realm 文件的规范路径。

  • 从类 java.lang.Object 继承的方法 :getClass ,hashCode ,equals ,clone ,toString ,notify ,notifyAll ,wait ,wait ,wait ,finalize

  • 从类 java.lang.Throwable 继承的方法 :getMessagegetLocalizedMessagegetCauseinitCausetoStringprintStackTraceprintStackTraceprintStackTracefillInStackTracegetStackTracesetStackTraceaddSuppressedgetSuppressed

String canonicalRealmPath,
String detailMessage
)
public String getPath ()

返回需要迁移的 Realm 文件的规范路径。这可用于在迁移过程中轻松引用:

返回:

Realm 文件的规范路径。

提示

后退

RealmFileException

在此页面上