adding timeout to list of connection failures

This commit is contained in:
Austin McKinley 2011-09-16 14:15:55 -07:00 committed by Shay Banon
parent 5ba6ec5a69
commit 0977b793da
1 changed files with 3 additions and 0 deletions

View File

@ -52,6 +52,9 @@ public class NetworkExceptionHelper {
if (e.getMessage().contains("Broken pipe")) {
return true;
}
if (e.getMessage().contains("Connection timed out")) {
return true;
}
}
return false;
}