On Tue, 21 Sep 2021 16:48:53 GMT, Brian Burkhalter <b...@openjdk.org> wrote:

>> Pavel Rappo has updated the pull request incrementally with one additional 
>> commit since the last revision:
>> 
>>   Tweak wording for Throwable constructor parameters
>
> src/java.base/share/classes/java/lang/Throwable.java line 68:
> 
>> 66:  * Further, doing so would tie the API of the upper layer to the details 
>> of
>> 67:  * its implementation, assuming the lower layer's exception was a checked
>> 68:  * exception.  Throwing a "wrapping exception" (i.e., an exception 
>> containing a
> 
> Are we sure that this should be "wrapping" and not "wrapped?" See also for 
> example `java.security.cert.CertPathValidatorException.`

It does seem a bit strange to say "Throwing a wrapping...."

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

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

Reply via email to