try {
String serverIpPort = SettingsPanelGeneralTextFieldServer.getText();
verifyServerInput(serverIpPort);
String ip = serverIpPort.split(":")[0];
int port = Integer.parseInt(serverIpPort.split(":")[1]);
atmcModel.addServer(new Server(ip, port));
} catch (NumberFormatException e) {
atmClient.addStatusMessage("Invalid Server Input");
} catch (IllegalArgumentException e) {
atmClient.addStatusMessage("Invalid Server Input");
}