Docs Menu

Interface Realm.Transaction.OnError

On this page

  • io.realm
  • Method Summary
  • Method Detail
  • onError

Enclosing class:

Transaction

Callback invoked to notify the caller thread about error during the transaction. The transaction will be rolled back and the background Realm will be closed before invoking onError(Throwable) .

Modifier and Type
Method and Description
public void
Throwable error
)
public void onError (
Throwable error
)
←  Class Realm.Transaction.CallbackInterface Realm.Transaction.OnSuccess →
Give Feedback
© 2022 MongoDB, Inc.

About

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