public void report(Document document) throws RatException {
if (analyser != null) {
try {
analyser.analyse(document);
} catch (RatDocumentAnalysisException e) {
throw new RatException(e.getMessage(), e);
}
}
final int length = reporters.size();
for (int i=0; i<length; i++) {
final RatReport report = (RatReport) reporters.get(i);