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
About Question enthuware.oce-ejbd.v6.2.486 :
Moderators: Site Manager, fjwalraven
-
- Posts: 1
- Joined: Tue Jul 16, 2013 5:16 am
- Contact:
-
- Site Admin
- Posts: 10065
- Joined: Fri Sep 10, 2010 9:26 pm
- Contact:
Re: About Question enthuware.oce-ejbd.v6.2.486 :
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.
-
- Posts: 15
- Joined: Fri Apr 10, 2015 12:53 pm
- Contact:
Re: About Question enthuware.oce-ejbd.v6.2.486 :
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: option C would be the correct one.
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:
Otherwise, with something like this in the DD:If there are no attributes specified in the annotation for MyApplicationException
Code: Select all
<ejb-jar>
...
<assembly-descriptor>
<application-exception>
<exception-class>MyApplicationException</exception-class>
<rollback>true</rollback>
</application-exception>
</assembly-descriptor>
...
</ejb-jar>
-
- Site Admin
- Posts: 10065
- Joined: Fri Sep 10, 2010 9:26 pm
- Contact:
Re: About Question enthuware.oce-ejbd.v6.2.486 :
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.
thank you for your feedback!
Paul.
If you like our products and services, please help us by posting your review here.
Who is online
Users browsing this forum: No registered users and 63 guests