mirror of
https://github.com/moparisthebest/davmail
synced 2024-12-14 11:42:23 -05:00
Another network down fix from Dan Foody
git-svn-id: http://svn.code.sf.net/p/davmail/code/trunk@702 3d1905a2-6b24-0410-a738-b14d5a86fcbd
This commit is contained in:
parent
8183986842
commit
fec65abf7f
@ -113,11 +113,7 @@ public final class ExchangeSessionFactory {
|
||||
configChecked = true;
|
||||
// Reset so next time an problem occurs message will be sent once
|
||||
errorSent = false;
|
||||
} catch (UnknownHostException exc) {
|
||||
handleNetworkDown(exc);
|
||||
} catch (NoRouteToHostException exc) {
|
||||
handleNetworkDown(exc);
|
||||
} catch (ConnectException exc) {
|
||||
} catch (Exception exc) {
|
||||
handleNetworkDown(exc);
|
||||
}
|
||||
return session;
|
||||
@ -146,8 +142,6 @@ public final class ExchangeSessionFactory {
|
||||
configChecked = true;
|
||||
// Reset so next time an problem occurs message will be sent once
|
||||
errorSent = false;
|
||||
} catch (NetworkDownException exc) {
|
||||
throw exc;
|
||||
} catch (Exception exc) {
|
||||
handleNetworkDown(exc);
|
||||
} finally {
|
||||
|
Loading…
Reference in New Issue
Block a user