234235236237238239240241242
final long endTime = System.currentTimeMillis(); Log.debug ("Report processing time: " + (endTime - startTime)); } catch (final Exception e) { throw new ReportExecutionException("Failed to process the report", e); } }
254255256257258259260
} if (PentahoReportEngineMetaData.DEBUG.equals(mimeType)) { return new XmlPrintReportProcessor(System.out, "ISO-8859-1"); } throw new ReportExecutionException("Invalid mime-type"); }
381382383384385386387388389
String message = e.getMessage(); if (message == null || message.length() == 0) { message = "Failed to process the report"; } throw new ReportExecutionException(message, e); } }
409410411412413414415416417418
{ ret = new XmlPrintReportProcessor(System.out, "ISO-8859-1"); } else { throw new ReportExecutionException("Invalid mime-type"); } return ret; }