Catch checked exceptions individually or RuntimeException if you also want to catch unchecked exceptions