Make Stream.open/openAsync fail with IOException instead of MongoSocketOpenException

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Unresolved
    • Priority: Unknown
    • None
    • Affects Version/s: None
    • Component/s: Error Handling
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      When Stream.open/openAsync fail with IOException, we can translate that exception into MongoInterruptedException/MongoSocketOpenException/MongoInternalException in InternalStreamConnection (a single place for all Stream implementations) similarly to how it's done for Stream.read/readAsync/write/writeAsync in InternalStreamConnection.translateReadException/translateWriteException.

              Assignee:
              Unassigned
              Reporter:
              Valentin Kavalenka
              None
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: