try {
if (!sorted) try {
	public void doReportBug(BugInstance bugInstance) {		// Add it to the bug collection and notify observers		super.doReportBug(bugInstance);				// Write it to output		try {			getReady();			bugInstance.writeXML(xmlOutput, addMessages);		} catch (IOException e) {			throw new FatalException("Error writing XML output", e);		}	}