Suppress boundary/MessageRemovedIOException

This commit is contained in:
M66B 2021-07-19 08:11:21 +02:00
parent 86615c4a2d
commit bc3a9a9869
1 changed files with 2 additions and 1 deletions

View File

@ -37,6 +37,7 @@ import com.sun.mail.imap.IMAPStore;
import com.sun.mail.imap.protocol.IMAPProtocol; import com.sun.mail.imap.protocol.IMAPProtocol;
import com.sun.mail.imap.protocol.IMAPResponse; import com.sun.mail.imap.protocol.IMAPResponse;
import com.sun.mail.imap.protocol.SearchSequence; import com.sun.mail.imap.protocol.SearchSequence;
import com.sun.mail.util.MessageRemovedIOException;
import java.io.File; import java.io.File;
import java.io.IOException; import java.io.IOException;
@ -590,7 +591,7 @@ public class BoundaryCallbackMessages extends PagedList.BoundaryCallback<TupleMe
else else
found += db.message().setMessageFound(message.id); found += db.message().setMessageFound(message.id);
Log.i("Boundary matched=" + (message == null ? null : message.id) + " found=" + found); Log.i("Boundary matched=" + (message == null ? null : message.id) + " found=" + found);
} catch (MessageRemovedException ex) { } catch (MessageRemovedException | MessageRemovedIOException ex) {
Log.w(browsable.name + " boundary server", ex); Log.w(browsable.name + " boundary server", ex);
} catch (FolderClosedException ex) { } catch (FolderClosedException ex) {
throw ex; throw ex;