Code example for FileNotFoundException

0
 
    @Override 
    public InputStream open(String path) throws IOException {
        ZipEntry entry = archive.getEntry(path);
        if (entry == null) {
            throw new FileNotFoundException(path);
        } else { 
            return archive.getInputStream(entry);
        } 
    } 
 
    @Override 
    public void close() throws IOException {
        archive.close();
    } 
 
} 
Connect your IDE to all the code out there  Get Codota for Java