How to suppress BIRT Error during rendering time [message #193130] |
Thu, 28 September 2006 10:21 |
Eclipse User |
|
|
|
i use IRenderTask to render the rptdocument file.but during render task if
there is any error happens ,BIRT just put those errors with generate
output HTML.how can i isolate those errors
i use the following code
IRenderTask renderTask = engine.createRenderTask(iReportDocument);
....
...
renderTask.render();
there is Api to get the list of errors. but this api only give the errors,
there is no way to remove those errors.i dont want to show ugly errors on
the HTML Page, this is meaningless for end user.
is there any Event mechanism or listener mechanism to listen at the time
of rendering???????????????????
THERE IS THE SAMPLE ERRORS
The following items have errors:
Data (id = 106): + There are errors evaluating script "row["SUM of
UNIV_ID"]". Error.ScriptEvaluationError ( 1 time(s) )
detail : org.eclipse.birt.report.engine.api.EngineException: There are
errors evaluating script "row["SUM of UNIV_ID"]". at
org.eclipse.birt.report.engine.executor.ExecutionContext.eva luate(ExecutionContext.java:572)
Data (id = 109): + There are errors evaluating script "row["SUM of
NO_OF_STUDENT"]". Error.ScriptEvaluationError ( 1 time(s) )
detail : org.eclipse.birt.report.engine.api.EngineException: There are
errors evaluating script "row["SUM of NO_OF_STUDENT"]". at o
|
|
|
Powered by
FUDForum. Page generated in 0.03376 seconds