Skip to content
Snippets Groups Projects
Commit c29f3c25 authored by Brutzman, Don's avatar Brutzman, Don
Browse files

more precise exception catch

parent 84bc21ac
No related branches found
No related tags found
No related merge requests found
......@@ -117,7 +117,7 @@ public class NetworkComms implements Runnable
sendPacket.setData(aPdu.marshal());
if (!socket.isClosed())
socket.send(sendPacket);
} catch (Exception ex) {
} catch (IOException ex) {
Logger.getLogger(NetworkComms.class.getName()).log(Level.SEVERE, null, ex);
} finally {
buffSend.clear();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment