Interface ExceptionListener

  • All Known Subinterfaces:
    ErrorListener

    public interface ExceptionListener
    ExceptionListener receives errors that occur on a stream.
    • Method Summary

      Modifier and Type Method Description
      void onError​(BsonValue documentId, Exception error)
      Called when an error happens for the given document id.
    • Method Detail

      • onError

        void onError​(BsonValue documentId,
                     Exception error)
        Called when an error happens for the given document id.
        Parameters:
        documentId - the _id of the document related to the error.
        error - the error.