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

Server selection exception should chain exceptions from server monitors

      Currently BaseCluster.selectServer throws a MongoTimeoutException if no matching servers can be found for the selector. But if the reason there are no matching servers is due to one or more exceptions in the server monitors, these exceptions are not communicated to the caller in any way.

      For example, if the server monitor fails to connect due to an authentication issue or an IOException, that will not be part of the exception thrown to the caller.

            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: