diff options
author | Simon Rettberg | 2016-11-07 18:10:50 +0100 |
---|---|---|
committer | Simon Rettberg | 2016-11-07 18:10:50 +0100 |
commit | ca2087a4734d91306dfe8bdf5a35fd003e9b6306 (patch) | |
tree | e48d94a053faa15db0617a05c46426ae59adc94a /daemon | |
parent | [SystemCommandTask] Return 124 as exit code on timeout (diff) | |
download | taskman-lite-ca2087a4734d91306dfe8bdf5a35fd003e9b6306.tar.gz taskman-lite-ca2087a4734d91306dfe8bdf5a35fd003e9b6306.tar.xz taskman-lite-ca2087a4734d91306dfe8bdf5a35fd003e9b6306.zip |
DatagramPacket constructor doesn't throw SocketException in SE 8+
Diffstat (limited to 'daemon')
-rw-r--r-- | daemon/src/main/java/org/openslx/taskmanager/network/NetworkHandler.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/daemon/src/main/java/org/openslx/taskmanager/network/NetworkHandler.java b/daemon/src/main/java/org/openslx/taskmanager/network/NetworkHandler.java index 5d98512..08a1d61 100644 --- a/daemon/src/main/java/org/openslx/taskmanager/network/NetworkHandler.java +++ b/daemon/src/main/java/org/openslx/taskmanager/network/NetworkHandler.java @@ -69,7 +69,7 @@ public class NetworkHandler implements Runnable final DatagramPacket packet; try { packet = new DatagramPacket( buffer, buffer.length, destination ); - } catch ( SocketException e ) { + } catch ( Exception e ) { log.warn( "Could not construct datagram packet for target " + destination.toString() ); e.printStackTrace(); return; |