public void report(Document document) throws RatException {
if (analyser != null) {
try {
analyser.analyse(document);
} catch (RatDocumentAnalysisException e) {
throw new RatException(e.getMessage(), e);
}
}
for (Object reporter : reporters) {
final RatReport report = (RatReport) reporter;
report.report(document);