Microfix: add break in TCP client if connection fails
This commit is contained in:
@@ -99,10 +99,9 @@ public class TCPClient implements IClient {
|
||||
controller.setModel(model);
|
||||
controller.view.render();
|
||||
}
|
||||
} catch (IOException e) {
|
||||
} catch (Exception e) {
|
||||
e.printStackTrace();
|
||||
} catch (ClassNotFoundException e) {
|
||||
throw new RuntimeException(e);
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user