diff --git a/app/src/main/java/eu/faircode/email/ViewModelBrowse.java b/app/src/main/java/eu/faircode/email/ViewModelBrowse.java index 1eb71b3a3b..1813b17354 100644 --- a/app/src/main/java/eu/faircode/email/ViewModelBrowse.java +++ b/app/src/main/java/eu/faircode/email/ViewModelBrowse.java @@ -25,7 +25,6 @@ import android.util.Log; import com.sun.mail.imap.IMAPFolder; import com.sun.mail.imap.IMAPMessage; import com.sun.mail.imap.IMAPStore; -import com.sun.mail.util.FolderClosedIOException; import java.io.IOException; import java.util.Arrays; @@ -35,7 +34,6 @@ import java.util.Properties; import javax.mail.FetchProfile; import javax.mail.Flags; import javax.mail.Folder; -import javax.mail.FolderClosedException; import javax.mail.Message; import javax.mail.MessageRemovedException; import javax.mail.MessagingException; @@ -203,10 +201,6 @@ public class ViewModelBrowse extends ViewModel { db.message().setMessageFound(message.account, message.thread); } catch (MessageRemovedException ex) { Log.w(Helper.TAG, "Boundary " + ex + "\n" + Log.getStackTraceString(ex)); - } catch (FolderClosedException ex) { - throw ex; - } catch (FolderClosedIOException ex) { - throw ex; } catch (Throwable ex) { Log.e(Helper.TAG, "Boundary " + ex + "\n" + Log.getStackTraceString(ex)); } finally {