Skip to main content



      Home
Home » Archived » BIRT » How to suppress BIRT Error during rendering time
How to suppress BIRT Error during rendering time [message #193130] Thu, 28 September 2006 10:21
Eclipse UserFriend
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
Previous Topic:How would I do this using the Birt Charting Engine API?
Next Topic:Can I pass parameters in the presentation phase?
Goto Forum:
  


Current Time: Sun Jun 08 18:17:27 EDT 2025

Powered by FUDForum. Page generated in 0.03376 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top