mongodb/mongo-java-driver — pull request #184 by prisoner (2014-04-28 07:39:31+00:00)
Title: Update DBTCPConnector.java

We should catch the `MongoException` first. Otherwish, any `RuntimeException` (com.mongodb.MongoException$DuplicateKey for example) will cause connection closed.