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

Wrap exceptions that occur during communication with a MongoCommunicationException

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 2.0
    • None
    • Connectivity
    • None
    • Major Change

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: