catch(IOException ioe)
{
throw new DeliveryException(ioe);
}
DeliveredReport info = new DeliveredReport();
info.setParameters(reportSchedule.getReportParameters());
info.setReportDescription(reportSchedule.getScheduleDescription());
info.setReportName(report.getName());
info.setReportFileName(fileName + reportOutput.getContentExtension());
info.setRunDate(runDate);
info.setUserName(user.getName());
info.setDeliveryMethod("fileSystemDeliveryMethod");
try
{
FileOutputStream file = new FileOutputStream(directoryProvider.getReportGenerationDirectory() + fileName + ".xml");