synchronized static public File requireFile(String name, Options options) throws IOException {
        File file = findFile(name, options);
        if (file == null) {
            throw new ResourceNotFoundException("Resource file " + name + " not found");
        }
        return file;
    }
synchronized static public File requireFile(String name, Options options) throws IOException {
        File file = findFile(name, options);
        if (file == null) {
            throw new ResourceNotFoundException("Resource file " + name + " not found");
        }
        return file;
    }
synchronized static public File requireFile ( String name , Options options ) throws IOException { File file = findFile ( name , options ) ; if ( file == null ) { throw new ResourceNotFoundException ( "Resource file " + name + " not found" ) ; } return file ; }
Same as findFile but throws an exception if the file was not found.
Same as findFile but throws an exception if the file was not found .