FindBugsMessageFormat format = new FindBugsMessageFormat(pattern); return format.format(annotationList.toArray(new BugAnnotation[annotationList.size()]));
try { FindBugsMessageFormat format = new FindBugsMessageFormat(pattern); return format.format(annotationList.toArray(new BugAnnotation[annotationList.size()])); } catch (RuntimeException e) { AnalysisContext.logError("Error generating bug msg ", e); return bugPattern.getShortDescription() + " [Error generating customized description]"; }
	public String getMessageWithoutPrefix() {		BugPattern bugPattern = I18N.instance().lookupBugPattern(type);		String pattern;		if (bugPattern == null)			 pattern =  "Error: missing bug pattern for key " + type;		else pattern = bugPattern.getLongDescription();		FindBugsMessageFormat format = new FindBugsMessageFormat(pattern);		return format.format(annotationList.toArray(new BugAnnotation[annotationList.size()]));	}