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

Wrap exceptions that occur during communication with a MongoCommunicationException

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.0
    • Component/s: Connectivity
    • Labels:
      None
    • Backwards Compatibility:
      Major Change
    • Sprint:
      C# Sprint 16

      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

            Assignee:
            rstam Robert Stam
            Reporter:
            rstam Robert Stam
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: