Discussions
Categories
Choose a Product
THRUST SERVICES
CORE APPS
CE PRODUCTS
...
Quick Links
POPULAR
HELPFUL TIPS
Groups
My Links
FOR SIGNED IN MEMBERS:
Back to website
Home
Designing Analytics Reports
Custom Exception Handling, Conditionally Terminating Report Generation
Migrateduser
<p>Is there a way to throw an exception and terminate the report generation based on few conditions ?</p><p>Im looking for a sophisticated way of handling BIRT related and custom exceptions. I did not get much information about this in any of the forums or articles.</p><p> </p><p>This is what im trying to achieve.</p><ul class='bbc'><li>When the report is run thro' Report Viewer, i want to keep the existing model of adding errors to the task and listing them in red at the end of execution</li><li>When the report is run programatically, as in, thro a web application or a standalone application,</li><li> the report excecution should throw exception and <strong>terminate if there is a fatal exception</strong> like database fetch failure</li><li> the report should throw and <strong>log exceptions and proceed with report generation if the exception is less severe </strong>or a warning</li></ul>
<p>few questions..</p><ul class='bbc'><li> is it possible to <strong>set severity of exceptions </strong>based on the DesignElementHandle that is causing/raising the exception</li><li>is there a sophisticated way to get hold of ExecutionContext when the report generation is in progress, to play around with a task's Error handling methods</li><li><strong>CancelOrError can be set dynamically </strong>after the report generation begins ?</li></ul><p> </p><p>Thanks,<br />
Vishnupriya</p>
Find more posts tagged with
Comments
There are no comments yet