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:
parent
f6e14ffed6
commit
59f0583cad
1 changed files with 2 additions and 0 deletions
|
@ -799,6 +799,8 @@ public class FileBackend {
|
||||||
} catch (IOException e) {
|
} catch (IOException e) {
|
||||||
throw new FileWriterException(file);
|
throw new FileWriterException(file);
|
||||||
}
|
}
|
||||||
|
} catch (final IllegalArgumentException e) {
|
||||||
|
throw new FileCopyException(R.string.error_file_not_found);
|
||||||
} catch (final FileNotFoundException e) {
|
} catch (final FileNotFoundException e) {
|
||||||
throw new FileCopyException(R.string.error_file_not_found);
|
throw new FileCopyException(R.string.error_file_not_found);
|
||||||
} catch (final FileWriterException e) {
|
} catch (final FileWriterException e) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue