RFR: JDK-8299475: Enhance SocketException by cause where it is missing in net and nio area [v3]

Matthias Baesken mbaesken at openjdk.org
Tue Jan 3 10:47:11 UTC 2023


> We have a couple of places where a SocketException is thrown but the cause is omitted. It would be beneficial for example in error analysis not to throw away the cause (causing exception) but to add it to the created SocketException.

Matthias Baesken has updated the pull request incrementally with one additional commit since the last revision:

  re-throw SocketException, remove one enhancement because it is meant to be internal

-------------

Changes:
  - all: https://git.openjdk.org/jdk/pull/11813/files
  - new: https://git.openjdk.org/jdk/pull/11813/files/5c4c58c3..4eb84f37

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=11813&range=02
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=11813&range=01-02

  Stats: 4 lines in 2 files changed: 2 ins; 0 del; 2 mod
  Patch: https://git.openjdk.org/jdk/pull/11813.diff
  Fetch: git fetch https://git.openjdk.org/jdk pull/11813/head:pull/11813

PR: https://git.openjdk.org/jdk/pull/11813


More information about the nio-dev mailing list