We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4be12bc commit e5df30cCopy full SHA for e5df30c
docs/bugpattern/Finally.md
@@ -5,8 +5,8 @@ complete normally.
5
6
Consider the following code. In the case where `doWork` throws `SomeException`,
7
the finally block will still be executed. If closing the input stream *also*
8
-fails, then the exception that was thrown in the catch block will be prempted by
9
-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.
10
11
```java
12
InputStream in = openInputStream();
0 commit comments