Interface MongoDbConnection.ErrorHandler

Enclosing class:
MongoDbConnection
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface MongoDbConnection.ErrorHandler
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onError(String desc, Throwable error)
     
  • Method Details

    • onError

      void onError(String desc, Throwable error)
      Parameters:
      desc - the description of the operation, for logging purposes
      error - the error which triggered this call