About Question enthuware.oce-ejbd.v6.2.486 :

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
jszczepankiewicz

About Question enthuware.oce-ejbd.v6.2.486 :

Post by jszczepankiewicz »

In order to make the throw to happen the argument of the method should be 0. There is nothing about the argument passed to the method so the answer can not be determined. The question should be extended and the value of the argument should be listed to make the question fully correct with the answers.

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

Re: About Question enthuware.oce-ejbd.v6.2.486 :

Post by admin »

Hello,
As the explanation explain, the answer to the question does not depend on the value of the argument. i.e. even when this exception is thrown (the case when argument is 0), the transaction under which the bean method was invoked, will not be set for rollback.

HTH,
Paul.

Guest

Re: About Question enthuware.oce-ejbd.v6.2.486 :

Post by Guest »

admin wrote:the answer to the question does not depend on the value of the argument.
You are quite correct in this, but the question's purpose is (probably) to test the taker's knowledge, not his skill in puzzle solving. As the question is now, it can be answered by finding the option which is valid for x != 0.

Though, of course, since my goal is to learn, I wouldn't use such methods anyway.
:-)

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

Re: About Question enthuware.oce-ejbd.v6.2.486 :

Post by admin »

Guest wrote:
admin wrote:the answer to the question does not depend on the value of the argument.
You are quite correct in this, but the question's purpose is (probably) to test the taker's knowledge, not his skill in puzzle solving. As the question is now, it can be answered by finding the option which is valid for x != 0.

Though, of course, since my goal is to learn, I wouldn't use such methods anyway.
:-)
I see your point. This will be changed asap.

thank you for your feedback!
Paul.

Post Reply

Who is online

Users browsing this forum: No registered users and 13 guests