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)
Exception Detail
dianbo
I use jsapi to access reports deployed in iserver express.
Accessing by iportal console, we can get exception messages like
'column *** binding has referred to a data set column ## which does not exist'.
In the .jsp which i invoke jsapi, I use the following javascript code
viewer.registerEventHandler(actuate.viewer.EventConstants.ON_EXCEPTION, exceptionHandler);
function exceptionHandler(viewer, excepiton){.......}
But in the object "exception", i can not get the detail exception messages like the strings i get directly from iportal console. i get the following result:
alert(exception);
actuate.viewer.ViewerException:
Type: err_server
Message: Execute report failed.
alert(exception.getType());
err_server
alert(exception.getErrCode());
undefined
alert(exception.getMessage());
Execute report failed.
alert(exception.getElement());
undefined
alert(exception.getDescription());
undefined
Is there any way to get the detail and useful exception message?
Thanks.
Find more posts tagged with
Comments
rmurphy
From the JSAPI, you have correctly used the Exception object. You should file a bug/enhancement request at <a class='bbc_url' href='
http://ted.birt-exchange.org/'>Redirecting
to BIRT Exchange</a><br />
<br />
Rob