reportManager.createAttachmentForReport(this, report, tableId, vars);
} catch (final ReportingException exception) {
throw new ServletException(exception);
}
} else {
reportManager.saveTempReport(report, vars);
}
} else {
if (log4j.isDebugEnabled())
log4j.debug("Document is not attached.");
}