Skip to content

Commit

Permalink
Call out UncheckedIOException as a java8 addition
Browse files Browse the repository at this point in the history
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=195435422
  • Loading branch information
nick-someone authored and ronshapiro committed May 8, 2018
1 parent 9f94242 commit 97f316e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/bugpattern/CatchAndPrintStackTrace.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ try {
try {
// ...
} catch (IOException e) {
throw new UncheckedIOException(e);
throw new UncheckedIOException(e); // New in Java 8
}
```

Expand Down

0 comments on commit 97f316e

Please sign in to comment.