Uploaded image for project: 'Java Driver'
  1. Java Driver
  2. JAVA-4565

Add errorCodeName property to MongoServerException

    • Type: Icon: New Feature New Feature
    • Resolution: Fixed
    • Priority: Icon: Minor - P4 Minor - P4
    • 4.6.0
    • Affects Version/s: None
    • Component/s: Error Handling
    • None

      Currently, only MongoCommandException has the errorCodeName property. However, a recent unified spec test causes a MongoQueryException to be thrown, which does not have this property. Pushing the property down into MongoServerException would make it available on both these classes, and allow the tests to pass.

            Assignee:
            jeff.yemin@mongodb.com Jeffrey Yemin
            Reporter:
            jeff.yemin@mongodb.com Jeffrey Yemin
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: