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

Review all exceptions thrown by the C# driver

    • Type: Icon: Improvement Improvement
    • Resolution: Won't Fix
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 1.4.2
    • Component/s: Error Handling
    • None
    • Major Change

      In some cases the C# driver is not throwing the most appropriate exception. This task is a high level one to review all the exceptions being thrown by the C# driver to verify that the correct type is being thrown and that the error message is appropriate.

      Several other JIRAs that refer to specific instances of exceptions that are being questioned are linked to this JIRA.

      Note that changing the type of an exception thrown is a breaking change because code written to catch the exception will no longer catch it when the type changes. Changing the error message is also potentially a breaking change because sometimes user code inspects the text of the error message.

            Assignee:
            Unassigned Unassigned
            Reporter:
            robert@mongodb.com Robert Stam
            Votes:
            4 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: