Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
PUBLIC CLOUD
PRIVATE CLOUD
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Intelligence (Analytics)
How to throw javascript exception?
dzish
Hi,<br />
<br />
On datasource event I try to throw exception and stop generating report. Exception appears but with confusing description. It seems report continues in generating. <br />
<br />
in event my code is:<br />
<pre class='_prettyXprint _lang-auto _linenums:0'>throw new Error("myError");</pre>
<br />
How to stop generating report and show my exception?<br />
<br />
thank you<br />
Jan
Find more posts tagged with
Comments
richardc
This might be useful:<br />
<br />
<a class='bbc_url' href='
http://www.birt-exchange.org/forum/deploying-integrating-birt-report-engine-applications/17610-error-handling-when-using-shell-script.html'>http://www.birt-exchange.org/forum/deploying-integrating-birt-report-engine-applications/17610-error-handling-when-using-shell-script.html</a><br
/>
<br />
Cheers,<br />
<br />
Richard
dzish
Hi Richard,
thank you. I haven't used sollution from link but it's really useful.
thank you
Jan