Make use of Java 7's multi-catch.