mirror of
https://github.com/M66B/FairEmail.git
synced 2025-01-03 13:44:40 +00:00
Updated ignored exceptions
This commit is contained in:
parent
a2b484d4a5
commit
b68aa65826
1 changed files with 18 additions and 12 deletions
|
@ -156,23 +156,29 @@ public class ApplicationEx extends Application {
|
|||
List<String> ignore = new ArrayList<>();
|
||||
|
||||
ignore.add("com.sun.mail.util.MailConnectException");
|
||||
ignore.add("javax.mail.AuthenticationFailedException");
|
||||
ignore.add("java.net.UnknownHostException");
|
||||
ignore.add("java.net.ConnectException");
|
||||
ignore.add("java.net.SocketTimeoutException");
|
||||
ignore.add("java.net.SocketException");
|
||||
|
||||
ignore.add("android.accounts.OperationCanceledException");
|
||||
ignore.add("org.xmlpull.v1.XmlPullParserException");
|
||||
ignore.add("android.app.RemoteServiceException");
|
||||
|
||||
ignore.add("javax.mail.StoreClosedException");
|
||||
ignore.add("javax.mail.FolderClosedException");
|
||||
ignore.add("javax.mail.ReadOnlyFolderException");
|
||||
|
||||
ignore.add("javax.mail.MessageRemovedException");
|
||||
ignore.add("javax.mail.internet.AddressException");
|
||||
ignore.add("java.lang.NoClassDefFoundError");
|
||||
ignore.add("java.lang.UnsatisfiedLinkError");
|
||||
|
||||
ignore.add("java.nio.charset.MalformedInputException");
|
||||
|
||||
ignore.add("java.net.ConnectException");
|
||||
ignore.add("java.net.SocketException");
|
||||
ignore.add("java.net.SocketTimeoutException");
|
||||
ignore.add("java.net.UnknownHostException");
|
||||
|
||||
ignore.add("javax.mail.AuthenticationFailedException");
|
||||
ignore.add("javax.mail.FolderClosedException");
|
||||
ignore.add("javax.mail.internet.AddressException");
|
||||
ignore.add("javax.mail.MessageRemovedException");
|
||||
ignore.add("javax.mail.ReadOnlyFolderException");
|
||||
ignore.add("javax.mail.StoreClosedException");
|
||||
|
||||
ignore.add("org.xmlpull.v1.XmlPullParserException");
|
||||
|
||||
config.setIgnoreClasses(ignore.toArray(new String[0]));
|
||||
|
||||
final SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(this);
|
||||
|
|
Loading…
Reference in a new issue