for (Iterator<String> i = errorMessageList.iterator(); i.hasNext();) reportLine("\t" + i.next());
for (Iterator<Error> i = errorMessageList.iterator(); i.hasNext();) { Error error = i.next(); reportLine("\t" + error.getMessage()); Throwable cause = error.getCause(); if (cause != null) { reportLine("\t\t" + cause.toString()); StackTraceElement[] stackTrace = cause.getStackTrace(); for (int j = 0; j < stackTrace.length; ++j) { reportLine("\t\t\t" + stackTrace[j].toString()); } } }
	public void reportQueuedErrors() {		if (errorMessageList.isEmpty() && missingClassMessageList.isEmpty())			return;		beginReport();		if (!errorMessageList.isEmpty()) {			reportLine("The following errors occured during analysis:");			for (Iterator<String> i = errorMessageList.iterator(); i.hasNext();)				reportLine("\t" + i.next());		}		if (!missingClassMessageList.isEmpty()) {			reportLine("The following classes needed for analysis were missing:");			for (Iterator<String> i = missingClassMessageList.iterator(); i.hasNext();)				reportLine("\t" + i.next());		}		endReport();	}