Catch socket exception for code clarity even though I dont think it was causing any problems

This commit is contained in:
Manevolent
2018-08-13 09:58:55 -04:00
parent ca869089cf
commit f041820020
2 changed files with 4 additions and 10 deletions
@@ -163,6 +163,8 @@ public class LocalTeamspeakClientSocket
try {
socket.receive(packet);
} catch (SocketTimeoutException ex) {
throw ex;
} catch (SocketException ex) {
if (socket.isClosed()) throw new EOFException();
else throw ex;