commonMain.io.realm.kotlin.mongodb.exceptions.DownloadingRealmTimeOutException.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of library-sync-jvm Show documentation
Show all versions of library-sync-jvm Show documentation
Sync Library code for Realm Kotlin. This artifact is not supposed to be consumed directly, but through 'io.realm.kotlin:gradle-plugin:1.5.2' instead.
The newest version!
package io.realm.kotlin.mongodb.exceptions
import io.realm.kotlin.exceptions.RealmException
import io.realm.kotlin.mongodb.sync.SyncConfiguration
/**
* Thrown when opening a Realm and it didn't finish download server data in the allocated timeframe.
*
* This can only happen if [SyncConfiguration.Builder.waitForInitialRemoteData] is set.
*/
public class DownloadingRealmTimeOutException : RealmException {
internal constructor(syncConfig: SyncConfiguration) : super(
"Realm did not manage to download all initial data in time: ${syncConfig.path}, " +
"timeout: ${syncConfig.initialRemoteData!!.timeout}."
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy