mirror of
https://github.com/moparisthebest/davmail
synced 2025-02-28 09:21:49 -05:00
Do not pass DavMailAuthenticationException to handle network down
git-svn-id: http://svn.code.sf.net/p/davmail/code/trunk@712 3d1905a2-6b24-0410-a738-b14d5a86fcbd
This commit is contained in:
parent
26f1194507
commit
15396def25
@ -21,6 +21,7 @@ package davmail.exchange;
|
|||||||
import davmail.BundleMessage;
|
import davmail.BundleMessage;
|
||||||
import davmail.Settings;
|
import davmail.Settings;
|
||||||
import davmail.exception.DavMailException;
|
import davmail.exception.DavMailException;
|
||||||
|
import davmail.exception.DavMailAuthenticationException;
|
||||||
import davmail.http.DavGatewayHttpClientFacade;
|
import davmail.http.DavGatewayHttpClientFacade;
|
||||||
import org.apache.commons.httpclient.HttpClient;
|
import org.apache.commons.httpclient.HttpClient;
|
||||||
import org.apache.commons.httpclient.HttpMethod;
|
import org.apache.commons.httpclient.HttpMethod;
|
||||||
@ -113,6 +114,8 @@ public final class ExchangeSessionFactory {
|
|||||||
configChecked = true;
|
configChecked = true;
|
||||||
// Reset so next time an problem occurs message will be sent once
|
// Reset so next time an problem occurs message will be sent once
|
||||||
errorSent = false;
|
errorSent = false;
|
||||||
|
} catch (DavMailAuthenticationException exc) {
|
||||||
|
throw exc;
|
||||||
} catch (Exception exc) {
|
} catch (Exception exc) {
|
||||||
handleNetworkDown(exc);
|
handleNetworkDown(exc);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user