1
0
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:
mguessan 2009-09-10 08:09:29 +00:00
parent 26f1194507
commit 15396def25

View File

@ -21,6 +21,7 @@ package davmail.exchange;
import davmail.BundleMessage;
import davmail.Settings;
import davmail.exception.DavMailException;
import davmail.exception.DavMailAuthenticationException;
import davmail.http.DavGatewayHttpClientFacade;
import org.apache.commons.httpclient.HttpClient;
import org.apache.commons.httpclient.HttpMethod;
@ -113,6 +114,8 @@ public final class ExchangeSessionFactory {
configChecked = true;
// Reset so next time an problem occurs message will be sent once
errorSent = false;
} catch (DavMailAuthenticationException exc) {
throw exc;
} catch (Exception exc) {
handleNetworkDown(exc);
}