Bug 284265 [JFace] DialogSettings.save() silently ignores IOException
Build ID: M20090211-1700 (Problem still in HEAD) STEPS TO REPRODUCE Call DialogSettings.save() on a Writer that produced a IOException or with a file which causes trouble during output (e.g. full drive). EXPECTED The original exception thrown by the underlying output should be propagated to the caller -- as "save() throws IOException" suggests. ACTUAL The IOException is silently ignored. ANALYSIS The internal DialogSettings.XMLWriter is based in a java.io.PrintWriter, which catches all IOExceptions.
bundles/org.eclipse.jface/src/org/eclipse/jface/dialogs/DialogSettings.java
* @param parameters map of parameters
    	 * @param close should the tag be ended automatically (=> empty tag)
    	 */
    	public void printTag(String name, HashMap parameters, boolean close) {
    		printTag(name, parameters, true, true, close);
    	}
    	private void printTag(String name, HashMap parameters, boolean shouldTab, boolean newLine, boolean close) {
    		StringBuffer sb = new StringBuffer();
    		sb.append('<');
    		sb.append(name);
    		if (parameters != null) {
				for (Enumeration e = Collections.enumeration(parameters.keySet()); e.hasMoreElements();) {
    				sb.append(" "); 
    				String key = (String) e.nextElement();
    				sb.append(key);
    				sb.append("=\""); 
    				sb.append(getEscaped(String.valueOf(parameters.get(key))));
    				sb.append("\""); 
    			}
			}
    		if (close) {
				sb.append('/');
			}
    		sb.append('>');
    		if (shouldTab) {
				printTabulation();
			}
    		if (newLine) {
				println(sb.toString());
			} else {