358359360361362363364365366
catch (final Exception e) { String message = e.getMessage(); if ( message.length() == 0 ) message = "Failed to process the report"; throw new ReportExecutionException(message, e); } }
386387388389390391392393394395
{ ret = new XmlPrintReportProcessor(System.out, "ISO-8859-1"); } else { throw new ReportExecutionException("Invalid mime-type"); } return ret; }
361362363364365366367368369
389390391392393394395396397398
377378379380381382383384385
String message = e.getMessage(); if (message == null || message.length() == 0) { message = "Failed to process the report"; } throw new ReportExecutionException(message, e); } }
405406407408409410411412413414
351352353354355356357358359
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); } }
379380381382383384385386387388