Page 1 of 1

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

Posted: Tue Jul 16, 2013 7:52 am
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

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

Posted: Tue Jul 16, 2013 7:57 am
by admin
No, it doesn't say anywhere that it is a system exception. Where did you see that?

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

Posted: Sat Apr 11, 2015 4:43 am
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.

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

Posted: Sat Apr 11, 2015 4:54 am
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.