Instead of discarding the newly created `CommunicationException` exception and referencing the outer (caught) `SSLPeerUnverifiedException` exception, this patch adds the `SSLPeerUnverifiedException` exception as the suppressed exception of the newly created `CommunicationException` exception.
--------- - [x] I confirm that I make this contribution in accordance with the [OpenJDK Interim AI Policy](https://openjdk.org/legal/ai). ------------- Commit messages: - Reference the correct exception in Connection.java Changes: https://git.openjdk.org/jdk/pull/31545/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=31545&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8386807 Stats: 2 lines in 1 file changed: 1 ins; 0 del; 1 mod Patch: https://git.openjdk.org/jdk/pull/31545.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/31545/head:pull/31545 PR: https://git.openjdk.org/jdk/pull/31545
