Introduce ServerException class

XMLWordPrintableJSON

    • Type: New Feature
    • Resolution: Fixed
    • Priority: Major - P3
    • 1.5.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      ServerException should extend RuntimeException. The following classes should extend ServerException:

      • WriteException
      • BulkWriteException (via WriteException)
      • ExecutionTimeoutException

      All errors in the MONGOC_ERROR_SERVER domain should utilize ServerException (or a sub-class).

      We should document that codes on ServerException objects originate from the server. All other error codes originate from the client/driver.

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

              Created:
              Updated:
              Resolved: