try { if (config != null) { DebugUITools.saveAndBuildBeforeLaunch(); config.launch(mode, null); } } catch (CoreException e) { ErrorDialog.openError(getShell(), JUnitMessages.getString("LaunchTestAction.message.launchFailed"), e.getMessage(), e.getStatus());
if (config != null) { DebugUITools.launch(config, mode);
	protected void launchConfiguration(String mode, ILaunchConfiguration config) {		try { 			if (config != null) {				DebugUITools.saveAndBuildBeforeLaunch();				config.launch(mode, null);			}					} catch (CoreException e) {			ErrorDialog.openError(getShell(), JUnitMessages.getString("LaunchTestAction.message.launchFailed"), e.getMessage(), e.getStatus());  //$NON-NLS-1$		}	}