Code example for FileNotFoundException

0
				m = ParcelFileDescriptor.MODE_READ_WRITE;
			File f = new File(uri.getPath());
			ParcelFileDescriptor pfd = ParcelFileDescriptor.open(f, m);
			return pfd;
		} else { 
			throw new FileNotFoundException	("Unsupported uri: " + uri.toString());
		} 
	} 
 
	@Override 
	public int update(Uri uri, ContentValues contentvalues, String s, String[] as) {
		// not supported 
		return 0; 
	} 
 
}