Can you throw a RuntimeException instead inside the catch block, wrapping the IOException in that?