add Socket closed variant to NetworkExceptionHelper.isCloseConnectionException

This commit is contained in:
Boaz Leskes 2016-07-26 18:01:22 +02:00
parent 95ae58b531
commit 8151224883

View File

@ -58,6 +58,9 @@ public class NetworkExceptionHelper {
if (e.getMessage().equals("Socket is closed")) { if (e.getMessage().equals("Socket is closed")) {
return true; return true;
} }
if (e.getMessage().equals("Socket closed")) {
return true;
}
} }
return false; return false;
} }