About Question enthuware.ocpjp.v7.2.1350 :

All the posts and topics that contain only an error report will be moved here after the error is corrected. This is to ensure that when users view a question in ETS Viewer, the "Discuss" button will not indicate the presence of a discussion that adds no value to the question.

Moderators: Site Manager, fjwalraven

Post Reply
lucas91
Posts: 9
Joined: Wed Jul 17, 2013 1:02 pm
Contact:

About Question enthuware.ocpjp.v7.2.1350 :

Post by lucas91 »

Hi Paul, in this question it says it will throw an exception, but while there are no other valid answers I think this is only valid if there is any result. If the resultset is empty the for loop will not run and it will not throw an exception so this code MAY throw an exception, but unless specified in the question that the resultset is not empty, it might not throw anything at all.

admin
Site Admin
Posts: 10388
Joined: Fri Sep 10, 2010 9:26 pm
Contact:

Re: About Question enthuware.ocpjp.v7.2.1350 :

Post by admin »

You are right. This has now been updated.

thank you for your feedback.
Paul.

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest