Bug 59030 Where did exit code 15 go?
Build: I-20040313 Once upon a time, if you launch Eclipse on a workspace that is already in use, the launch used to fail with exit code 15. The runtime would then display an informative message. Similarly, in the runtime workbench situation, PDE would display a message like: "Launch failed because the the workspace associated with the launch is currently in use". Right now, code 15 is gone. The launch will terminate with exit code 0 (of all things) with an error message from the runtime saying: "Error in runtime; workspace cannot be set. Exiting". The old behavior was more informative and more delicate. Also if it's an error as the dialog says, why is the exit code 0?
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/internal/ide/IDEApplication.java
return true;
		} catch (NumberFormatException e) {
			
			
			return true;
		}
	}
	/**
	 * Open a workspace selection dialog on the argument shell, populating the
	 * argument data with the user's selection. Perform first level validation
	 * on the selection by comparing the version information. This method does
	 * not examine the runtime state (e.g., is the workspace already locked?).
	 * 
	 * @param shell
	 * @param launchData
	 * @param force
	 *            setting to true makes the dialog open regardless of the
	 *            showDialog value
	 * @return An URL storing the selected workspace or null if the user has
	 *         canceled the launch operation.
	 */
	private URL promptForWorkspace(Shell shell, ChooseWorkspaceData launchData, boolean force) {
		URL url = null;
		do {
			new ChooseWorkspaceDialog(shell, launchData).prompt(force);
			String instancePath = launchData.getSelection();
			if (instancePath == null)
				return null;