Home
Analytics
Runtime error messages
ypetrov
Hello all,<br />
<br />
Working on the BIRT 2.3.2 reports and integrating them into J2EE app via Engine API, I can't find the way how to customize run time error messages. I'm talking about the ones that time to time appear in the viewer or browser when, for example, database connection is broken. The ones like<br />
<blockquote class='ipsBlockquote' ><p>...<br />
<span style='color: red'>
<br />
The following items have errors:<br />
<br />
Table (id = 179):<br />
+ An exception occurred during processing. Please see the following message for details:<br />
Cannot open the connection for the driver: org.eclipse.birt.report.data.oda.jdbc.<br />
There is an error in get connection, .......</span></p></blockquote>Obviously, such text is not end-user friendly and there is the real need to say to the user something not so geeky. But I found almost nothing digging in the BIRT docs and APIs. "Almost" - yes, IRunTask has the method "getErrors()" that can be called after running the task and if there were any errors the java code should return some nice and polite words instead of running render task, but this is inconvenient in "run once, then multiple renderings" scenario.<br />
<br />
On the other hand, the need is so obvious that the easy to use solution _must_ exist.<br />
<br />
Can anyone help me?<br />
<br />
Thanks
Find more posts tagged with
Comments
There are no comments yet