Exception Handling
© examsiri.com
Question : 2 of 24
Marks:
+1,
-0
Given:
Which statement is true if a ResourceException is thrown on line 3?
1. try {
2.   ResourceConnection con = resourceFactory.getConnection();
3.   Results r = con.query("GET INFO FROM CUSTOMER");
4.   info = r.getData();
5.   con.close();
6. } catch (ResourceException re) {
7.   errorLog.write(re.getMessage());
8. }
9. return info;Which statement is true if a ResourceException is thrown on line 3?
Go to Question: