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
java error handler
Migrateduser
Hi all,<br />
<br />
I'm looking for an example for a JAVA error handler for birt.<br />
I have founded many examples but I can't reused them in my reports.<br />
<br />
When I tried to write the following code in the "beforeFactory" section.<br />
<pre class='_prettyXprint _lang-auto _linenums:0'>
try {
reportContext.setPersistentGlobalVariable("newParametersName", parametersName1);
}
catch (IOException e) {
e.printStackTrace();
}
}
</pre>
<br />
I get this error message: <br />
<pre class='_prettyXprint _lang-auto _linenums:0'>invalid catch block condition</pre>
<br />
I have looked but I can't find any reference for why I get this error message.<br />
<br />
Please help my to understand and write good code :-)<br />
Have a great day<br />
Shlomi
Find more posts tagged with
Comments
There are no comments yet