Can you re-throw the exceptions as IOExceptions?