openErrorDialog(e);
	public void exit(boolean accept) {		IDocument document= fContext.getViewer().getDocument();				try {								if (!accept) {				Position[] positions= document.getPositions(TEMPLATE_POSITION);				Assert.isTrue((positions != null) && (positions.length == 1));								int offset= positions[0].getOffset();				int length= positions[0].getLength();										document.replace(offset, length, fOldText);				}			document.removePositionUpdater(fgTemplateUpdater);			document.removePositionCategory(TEMPLATE_POSITION);				} catch (BadPositionCategoryException e) {			JavaPlugin.log(e);			Assert.isTrue(false);		} catch (BadLocationException e) {			JavaPlugin.log(e);			// XXX dialog			}	}