Uploaded image for project: 'C# Driver'
  1. C# Driver
  2. CSHARP-1106

Review driver exception hierarchy

    • Type: Icon: Task Task
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 2.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Major Change

      We want to add a ConnectionId to exceptions somewhere (see CSHARP-1097), but MongoException doesn't seem to be the right place because not all subclasses of MongoException are connection related exceptions.

      We need to review the driver exception hierarchy. Perhaps something like:

      • MongoException
        • MongoConnectionException (base class for all connection related exceptions)
        • other exceptions

      In any case, it seems like the entire driver exception hierarchy needs to be revisited.

            Assignee:
            robert@mongodb.com Robert Stam
            Reporter:
            robert@mongodb.com Robert Stam
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: