Oracle
1Z0-860 · Question #294
Given an EJB 3.0 J MS message-driven bean, which statement is true about its exception handling?
The correct answer is A. Its message listener method must NOT throw any checked exception. See the full explanation below for the reasoning.
Question
Given an EJB 3.0 J MS message-driven bean, which statement is true about its exception handling?
Options
- AIts message listener method must NOT throw any checked exception.
- BIts message listener method can throw java. rmi. RemoteException.
- CIts message listener method can throw any checked exception except java. rmi.
- DIts message listener method can throw any checked exception that implements java.
How the community answered
(15 responses)- A80% (12)
- B7% (1)
- D13% (2)
Community Discussion
No community discussion yet for this question.