Code example for FileNotFoundException

0
    } 
 
    public File getSdkJar() throws FileNotFoundException {
        File[] files = libDirectory.listFiles(new AndroidSdkLibraryJarFilenameFilter());
        if (files == null || files.length != 1) {
            throw new FileNotFoundException(
                    "Could not uniquely identify an SDK jar in" 
                            + this.libDirectory + ".  Found: " + files);
        } 
        return files[0];
    } 
 
    /** 
     * Returns true if this object represents a valid AWS SDK for Java install (i.e. 
     * the correct libraries are present). 
     * 
     * @return True if this object represents a valid AWS SDK for Java install. 
     */ 
    @Override 
    public boolean isValidSdkInstall() { 
        return sdkRootDirectory.exists() && libDirectory.exists() && thirdPartyDirectory.exists();