mirror of
https://github.com/moparisthebest/davmail
synced 2024-12-14 19:52:21 -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;
|
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 (UnknownHostException exc) {
|
} catch (Exception exc) {
|
||||||
handleNetworkDown(exc);
|
|
||||||
} catch (NoRouteToHostException exc) {
|
|
||||||
handleNetworkDown(exc);
|
|
||||||
} catch (ConnectException exc) {
|
|
||||||
handleNetworkDown(exc);
|
handleNetworkDown(exc);
|
||||||
}
|
}
|
||||||
return session;
|
return session;
|
||||||
@ -146,8 +142,6 @@ 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 (NetworkDownException exc) {
|
|
||||||
throw exc;
|
|
||||||
} catch (Exception exc) {
|
} catch (Exception exc) {
|
||||||
handleNetworkDown(exc);
|
handleNetworkDown(exc);
|
||||||
} finally {
|
} finally {
|
||||||
|
Loading…
Reference in New Issue
Block a user