mirror of
https://github.com/M66B/FairEmail.git
synced 2025-01-03 21:55:13 +00:00
Folder I/O exception
This commit is contained in:
parent
c249e3d5e0
commit
8bf2b92b6b
1 changed files with 2 additions and 0 deletions
|
@ -34,6 +34,7 @@ import androidx.annotation.Nullable;
|
||||||
import androidx.preference.PreferenceManager;
|
import androidx.preference.PreferenceManager;
|
||||||
|
|
||||||
import com.sun.mail.iap.ConnectionException;
|
import com.sun.mail.iap.ConnectionException;
|
||||||
|
import com.sun.mail.util.FolderClosedIOException;
|
||||||
|
|
||||||
import java.io.IOException;
|
import java.io.IOException;
|
||||||
import java.util.Arrays;
|
import java.util.Arrays;
|
||||||
|
@ -374,6 +375,7 @@ public class ConnectionHelper {
|
||||||
while (ex != null) {
|
while (ex != null) {
|
||||||
if (isMaxConnections(ex.getMessage()) ||
|
if (isMaxConnections(ex.getMessage()) ||
|
||||||
ex instanceof IOException ||
|
ex instanceof IOException ||
|
||||||
|
ex instanceof FolderClosedIOException ||
|
||||||
ex instanceof ConnectionException ||
|
ex instanceof ConnectionException ||
|
||||||
ex instanceof AccountsException ||
|
ex instanceof AccountsException ||
|
||||||
ex instanceof InterruptedException ||
|
ex instanceof InterruptedException ||
|
||||||
|
|
Loading…
Reference in a new issue