Suppress some more common exceptions

This commit is contained in:
M66B 2019-08-09 17:48:10 +02:00
parent a7a2322913
commit 601be58d56
1 changed files with 4 additions and 1 deletions

View File

@ -199,7 +199,10 @@ public class ApplicationEx extends Application {
if (ex instanceof MessagingException && if (ex instanceof MessagingException &&
("connection failure".equals(ex.getMessage()) || ("connection failure".equals(ex.getMessage()) ||
"failed to create new store connection".equals(ex.getMessage()))) "failed to create new store connection".equals(ex.getMessage()) ||
"Failed to fetch headers".equals(ex.getMessage()) ||
"Failed to load IMAP envelope".equals(ex.getMessage()) ||
"Unable to load BODYSTRUCTURE".equals(ex.getMessage())))
return false; return false;
if (ex instanceof IllegalStateException && if (ex instanceof IllegalStateException &&