Code example for FileNotFoundException

0
                return PicasaSource.openFile(getContext(), object, mode);
            } else if (object instanceof MtpImage) {
                return openPipeHelper(uri, null, null, null,
                        new MtpPipeDataWriter((MtpImage) object));
            } else { 
                throw new FileNotFoundException("unspported type: " + object);
            } 
        } finally { 
            Binder.restoreCallingIdentity(token);
        } 
    } 
 
    @Override 
    public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) {
        throw new UnsupportedOperationException();
    } 
 
    private final class MtpPipeDataWriter implements PipeDataWriter<Object> {
        private final MtpImage mImage;
 
        private MtpPipeDataWriter(MtpImage image) {