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:
mguessan 2009-09-07 08:15:31 +00:00
parent 8183986842
commit fec65abf7f
1 changed files with 1 additions and 7 deletions

View File

@ -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 {