openErrorDialog(e);
	private void format(int indentationLevel) {		try {			if (TemplatePreferencePage.useCodeFormatter() &&				fContext.getType().equals(TemplateContext.JAVA))			{				format2(indentationLevel);			} else {				indentate(indentationLevel);			}			trimBegin();		} catch (BadLocationException e) {			JavaPlugin.log(e);		}	}