Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Intelligence (Analytics)
Swallowed exception in case of connection failure
remo
In my integration szenario BIRT retrieves a db connection by means of a JNDI data source.
If for any reason a connection cannot be obtained (e.g. exhausted connection pool), the result is a pdf without data. The calling application however has no clue that BIRT was unable to properly execute the report.
So I'm wondering why such an exception is not thrown to the calling application from task.run(). Is there a way to configure BIRT to throw such an exception?
I work with BIRT 2.1
Thanks.
Find more posts tagged with
Comments
jhelbling
Did you try using the following immediately after the task.run() method :
List errors = task.getErrors();
remo
Great, that's it. Thanks!