Oracle
1Z0-860 · Question #82
Which is a correct way of defining a runtime exception as an EJB 3.0 application exception?
The correct answer is D. @ApplicationException. See the full explanation below for the reasoning.
Question
Which is a correct way of defining a runtime exception as an EJB 3.0 application exception?
Options
- Apublic class MyAppException extends javax.ejb.EJBException
- B@ApplicationException
- Cpublic class MyAppException extends Java. lang. RuntimeException
- D@ApplicationException
How the community answered
(49 responses)- A4% (2)
- B2% (1)
- C10% (5)
- D84% (41)
Community Discussion
No community discussion yet for this question.