BUG-983: convert sneakyThrow into checked exception