The explanation for answer option 1 says "In fact, MDBs can only throw system exceptions (exception that extend from RuntimeException). EJBException is one such exception."
However, according to EJB 3.0 Core Spec, Section 14.3.4, Application Exception will also be thrown by a Message Listener Method of a Message-Driven Bean, in addition to System Exception. This contradicts with the above explanation.
About Question com.enthuware.ets.scbcd.v5.2.306 :
Moderator: admin
-
- Site Admin
- Posts: 10065
- Joined: Fri Sep 10, 2010 9:26 pm
- Contact:
Re: About Question com.enthuware.ets.scbcd.v5.2.306 :
Yes, you are right. The explanation has been updated to, "In fact, MDBs can only throw RuntimeException and exceptions that extend from RuntimeException. EJBException is one such exception."
thanks for your feedback!
thanks for your feedback!
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 80 guests