About Question com.enthuware.ets.scbcd.v5.2.306 :

Moderator: admin

Post Reply
John WU

About Question com.enthuware.ets.scbcd.v5.2.306 :

Post by John WU »

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.

John WU

Re: About Question com.enthuware.ets.scbcd.v5.2.306 :

Post by John WU »

Anyone has advice?

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

Re: About Question com.enthuware.ets.scbcd.v5.2.306 :

Post by admin »

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!

Post Reply

Who is online

Users browsing this forum: No registered users and 5 guests