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

Document that MongoClient no longer throws UnknownHostException

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 2.13.0, 3.0.0
    • Affects Version/s: 2.12.3
    • Component/s: Documentation
    • None

      http://grepcode.com/file/repo1.maven.org/maven2/org.mongodb/mongo-java-driver/2.12.1/com/mongodb/ServerAddress.java#ServerAddress

      This code does not throw an UnknownHostException like older versions. There is no attempt to resolve an ip address of the host using the java library InetAddress.getByName like in 2.11 versions.

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

              Created:
              Updated:
              Resolved: