1
0
mirror of https://github.com/moparisthebest/k-9 synced 2024-11-27 19:52:17 -05:00

Change ImapException to always be a permanent error

This way IMAP commands that get anything but an "OK" response are never
tried again (pending actions).
This commit is contained in:
cketti 2012-03-09 21:50:26 +01:00
parent ee34344d30
commit 7163d39091

View File

@ -2735,13 +2735,8 @@ public class ImapStore extends Store {
private static final long serialVersionUID = 3725007182205882394L; private static final long serialVersionUID = 3725007182205882394L;
String mAlertText; String mAlertText;
public ImapException(String message, String alertText, Throwable throwable) {
super(message, throwable);
this.mAlertText = alertText;
}
public ImapException(String message, String alertText) { public ImapException(String message, String alertText) {
super(message); super(message, true);
this.mAlertText = alertText; this.mAlertText = alertText;
} }