Uploaded image for project: 'C++ Driver'
  1. C++ Driver
  2. CXX-627

Implement mongocxx exception hierarchy

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.0.0-rc0
    • Component/s: API
    • Labels:
      None
    • Sprint:
      Platform C (11/20/15), Platform D (12/11/15), Platforms E (01/08/16)

      Description

      Implement an exception hierarchy for libmongocxx with the following exception types and error categories:

      • mongocxx::exception (inherits from std::system_error)
        • libmongoc error category
        • mongocxx error category
        • mongocxx::authentication exception
          • has an optional bson doc for an error from the server
        • mongocxx::operation exception
          • has an optional bson doc for an error from the server
          • mongocxx::write exception
          • mongocxx::query exception
          • mongocxx::bulk_write exception

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              tess.avitabile Tess Avitabile
              Reporter:
              acm Andrew Morrow
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: