mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-01 14:46:31 +02:00
Explicit exceptions
This commit is contained in:
@@ -561,7 +561,7 @@ public class FragmentCompose extends FragmentBase {
|
||||
DB db = DB.getInstance(context);
|
||||
EntityMessage draft = db.message().getMessage(id);
|
||||
if (draft == null)
|
||||
return null;
|
||||
throw new FileNotFoundException();
|
||||
|
||||
File file = draft.getFile(context);
|
||||
File refFile = draft.getRefFile(context);
|
||||
|
||||
Reference in New Issue
Block a user