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.
Guava's
Throwables.propagate
got deprecated for good reasons: https://github.com/google/guava/wiki/Why-we-deprecated-Throwables.propagateI'd suggest replacing suggestion to use
Throwables.propagate
with suggestion to use Java 7 multi-catch or removing mentioning usage ofThrowables.propagate
from this chapter completely.I also do not feel good about mentioning catching of
Throwable
s in the context of handling APIs that declare checked exceptions.