It's all about the answers!

Ask a question

How to handle FileNotFound error in BIRT using javascript


Tojan John (1171357) | asked Feb 17 '15, 3:58 a.m.
 Hi,

I have created RTC report using BIRT which takes input from XML data source also. User can pass XML file name as input parameter. If user enters invalid file name, it throws error. But I am not able to handle file not found exception error. Can some one help me on this?

TextData (id = 7646):
+ An exception occurred during processing. Please see the following message for details:
Cannot open the connection for the driver: org.eclipse.datatools.enablement.oda.xml.
    org.eclipse.datatools.connectivity.oda.OdaException ;
    java.io.FileNotFoundException: http://xxx.xxx.com/BIRT/xx.xml

Be the first one to answer this question!


Register or to post your answer.