Issue #1 then checked throws class cast exception for unexpected exceptions