Be cautious when using checked exceptions.