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
cgarci
Posts: 1
Joined: Tue Jul 16, 2013 5:16 am
Contact:

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

Post by cgarci »

Hi,

This questions states that MyApplicationException is an application exception... and later in the answer says that it's a system exception since it's not declared in the throws clause. Is this a little be misleading? In my opinion this question should be re-written to avoid misunderstanding or simply add the exception to the method signature and completely change the question.

Thanks for your answer and consideration

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

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

Post by admin »

No, it doesn't say anywhere that it is a system exception. Where did you see that?
If you like our products and services, please help us by posting your review here.

Viorel Ghelbert
Posts: 15
Joined: Fri Apr 10, 2015 12:53 pm
Contact:

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

Post by Viorel Ghelbert »

Hi,

I think this question should explicitly mention that either there's no deployment descriptor, or the deployment descriptor does not override MyApplicationException, like it does for @ApplicationException's attributes:
If there are no attributes specified in the annotation for MyApplicationException
Otherwise, with something like this in the DD:

Code: Select all

<ejb-jar>
	...
    <assembly-descriptor>
        <application-exception>
            <exception-class>MyApplicationException</exception-class>
            <rollback>true</rollback>
        </application-exception>
    </assembly-descriptor>
	...
</ejb-jar>
option C would be the correct one.

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

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

Post by admin »

I have added it to the problem statement but be aware that the questions in the real exam will expect you to make reasonable assumptions. You need to assume that things that are not specified in the question do not affect the answer.

thank you for your feedback!
Paul.
If you like our products and services, please help us by posting your review here.

Post Reply

Who is online

Users browsing this forum: No registered users and 12 guests