RFR: 8274075: Fix miscellaneous typos in java.base [v2]

Brian Burkhalter bpb at openjdk.java.net
Tue Sep 21 17:13:28 UTC 2021


On Tue, 21 Sep 2021 17:07:45 GMT, Pavel Rappo <prappo at openjdk.org> wrote:

>> It does seem a bit strange to say "Throwing a wrapping...."
>
> If we have two exceptions A and B, such that B is the cause of A, then A is the wrapping exception (the one that wraps or the wrapper) and B is the wrapped exception (the one that is being wrapped or the wrappee).
> 
> I noticed that the sentence was conflicting: it started with the "wrapped" exception, but then in the "i.e." commentary in parentheses proceeded with the wrappee exception. To resolve that conflict, I proposed to rephrase the first part of that sentence. FWIW, my original suggestion elsewhere was to use "wrapper".

Subjectively, "wrapping exception" would seem to be an exception in the process of wrapping something.

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

PR: https://git.openjdk.java.net/jdk/pull/5610


More information about the core-libs-dev mailing list