Skip to content

Commit

Permalink
Latest docs on successful build 5832 auto-pushed to gh-pages
Browse files Browse the repository at this point in the history
  • Loading branch information
copybara-service[bot] committed Dec 5, 2023
1 parent f3fff0a commit 9320989
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bugpattern/Finally.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ complete normally.

Consider the following code. In the case where `doWork` throws `SomeException`,
the finally block will still be executed. If closing the input stream *also*
fails, then the exception that was thrown in the catch block will be prempted by
the exception thrown by `close()`, and the first exception will be lost.
fails, then the exception that was thrown in the catch block will be preempted
by the exception thrown by `close()`, and the first exception will be lost.

```java
InputStream in = openInputStream();
Expand Down

0 comments on commit 9320989

Please sign in to comment.