adapt IO exception handling to the new ResourceNotFoundException and AccessDeniedException
adapt IO exception handling to the new ResourceNotFoundException and AccessDeniedException

osglworks/java-tool