Skip to content

Commit

Permalink
Undo "wrapped" -> "wrapping"
Browse files Browse the repository at this point in the history
  • Loading branch information
pavelrappo committed Sep 22, 2021
1 parent 19b6f49 commit 57b71c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/java.base/share/classes/java/lang/Throwable.java
Expand Up @@ -65,7 +65,7 @@
* it is generally unrelated to the abstraction provided by the upper layer.
* Further, doing so would tie the API of the upper layer to the details of
* its implementation, assuming the lower layer's exception was a checked
* exception. Throwing a "wrapping exception" (i.e., an exception containing a
* exception. Throwing a "wrapped exception" (i.e., an exception containing a
* cause) allows the upper layer to communicate the details of the failure to
* its caller without incurring either of these shortcomings. It preserves
* the flexibility to change the implementation of the upper layer without
Expand Down

0 comments on commit 57b71c5

Please sign in to comment.