Clean up switch statements for exception class selection

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Minor - P4
    • 1.5.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      The switch statements in phongo_exception_from_mongoc_domain() and phongo_exception_from_phongo_domain() should be cleaned up.

      Too many exceptions are currently selected by libmongoc code alone, which makes it likely that new codes will blindly default to RuntimeException.

              Assignee:
              Katherine Walker (Inactive)
              Reporter:
              Jeremy Mikola
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: