username + "@" + hostname + ":" + port + "\":\n\n" + errorMsg);
username + "@" + hostname + ":" + port + "\"\n\n" + errorMsg);
    private static void errorHandling(String errorText, String errorMsg, boolean mode, boolean severe) {		if (!mode) {			Splash.dispose();			int icon = SWT.ICON_WARNING;			if (severe) icon = SWT.ICON_ERROR;			MessageBox box = new MessageBox(shell, icon | SWT.OK | SWT.CANCEL);			box.setText(errorText);			box.setMessage(G2GuiResources.getString("G2_CONNECTION_ERROR_HEADER") + " \"" +				username + "@" + hostname + ":" + port + "\":\n\n" + errorMsg);				int rc = box.open();				if (rc == SWT.CANCEL) {				closeApp();			} else if ( myPrefs.open(shell, null) == 0 ) {				relaunchSelf();			}		} else {			myPrefs = new Preferences(PreferenceLoader.getPreferenceStore());			shell = new Shell();			if ( myPrefs.open(shell, null) == 0 ) {				relaunchSelf();			}		}    }