Skip to content

Conversation

@iksnibarg
Copy link

Guava's Throwables.propagate got deprecated for good reasons: https://github.com/google/guava/wiki/Why-we-deprecated-Throwables.propagate

I'd suggest replacing suggestion to use Throwables.propagate with suggestion to use Java 7 multi-catch or removing mentioning usage of Throwables.propagate from this chapter completely.

I also do not feel good about mentioning catching of Throwables in the context of handling APIs that declare checked exceptions.

…use Java 7 multi-catch.

`Throwables.propagate` got deprecated for good reasons: https://github.com/google/guava/wiki/Why-we-deprecated-Throwables.propagate

Skipped mentioning catching `Throwable`s since that do not fit into the context of this chapter.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant