1
0
Fork 1

Catch illegalargument

Seen in the wild at this location for "scheme not found" bad URI in here somehow

(cherry picked from commit a6a204fe5bad7f48b37ba41ecf738cc0f650ecda)
This commit is contained in:
Stephen Paul Weber 2024-11-02 20:51:37 -05:00 committed by Arne
parent f6e14ffed6
commit 59f0583cad

View file

@ -799,6 +799,8 @@ public class FileBackend {
} catch (IOException e) {
throw new FileWriterException(file);
}
} catch (final IllegalArgumentException e) {
throw new FileCopyException(R.string.error_file_not_found);
} catch (final FileNotFoundException e) {
throw new FileCopyException(R.string.error_file_not_found);
} catch (final FileWriterException e) {