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

Wrap exceptions that occur during communication with a MongoCommunicationException

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

      Wrap any exceptions that occur during communications in a MongoCommunicationException.

      Except: any subclasses of SystemException. These exceptions are all runtime errors that aren't meant to be caught because there is usually nothing you can do about them.

      This is backward breaking to any applications that are catching the unwrapped exceptions. They will now need to catch MongoConnectionException and examine the inner exception.

            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: