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

Review exception hierarchy

    • Type: Icon: Task Task
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 2.13.0, 3.0.0
    • Affects Version/s: None
    • Component/s: Error Handling
    • Labels:
      None

      Review the exception hierarchy, with a goal of making the .NET and Java drivers have similar exception hierarchies.

      The .NET hierarchy is:

      Exception
      	MongoException
      		MongoClientException
      			MongoConfigurationException
      			MongoIncompatibleDriverException
      			MongoWaitQueueFullException
      		MongoConnectionException
      			MongoMessageNotSentException
      			MongoAuthenticationException
      		MongoInternalException
      		MongoServerException
      			MongoBulkWriteException
      				MongoBulkWriteException<T>
      			MongoBulkWriteOperationException
      			MongoCommandException
      				MongoWriteConcernException
      					MongoDuplicateKeyException
      			MongoExecutionTimeoutException
      			MongoGridFSException
      			MongoNodeIsRecoveringException
      			MongoNotMasterException
      			MongoQueryException
      				MongoCursorNotFoundException
      			MongoWriteException
      

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

              Created:
              Updated:
              Resolved: