Exception handling for checked exceptions that gets thrown in an unsafe way.