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

Alan Bateman alanb at openjdk.org
Tue Jan 3 09:18:49 UTC 2023


On Tue, 3 Jan 2023 08:47:24 GMT, Matthias Baesken <mbaesken at openjdk.org> wrote:

> Hi Alan, do you mean some new class like java/net/SocketConnectionResetException.java (or a more suitable name) ?

Yes, although we never managed to come up to agreement on whether to introduce a standard exception. For now, it is important to not leak the internal exception - that is there solely as an internal contract.

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

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


More information about the nio-dev mailing list