Docs Menu

Docs HomeRealm

Interface Realm.Transaction.OnError

On this page

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

Enclosing class:


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
public void onError (
Throwable error
←  Class Realm.Transaction.CallbackInterface Realm.Transaction.OnSuccess →
Share Feedback
© 2023 MongoDB, Inc.


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