MongoNotPrimaryException and MongoNodeIsRecoveringException should derive from MongoCommandException

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 2.7.0
    • Affects Version/s: None
    • Component/s: Error Handling
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Currently MongoNotMasterException and MongoNodeIsRecoveringException derive from MongoServerException.

      But it would be better if they were derived from MongoCommandException.

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

                Created:
                Updated:
                Resolved: