Oracle
1Z0-860 · Question #274
Which two are true about EJB 3.0 exception classes? (Choose two.)
The correct answer is B. The javax.ejb.EJBException extends Java. lang. RuntimeException. D. An application exception must NOT be a subclass of Java.rmi.RemoteException. See the full explanation below for the reasoning.
Question
Which two are true about EJB 3.0 exception classes? (Choose two.)
Options
- AThe javax.ejb.NoSuchEJBException is an application exception.
- BThe javax.ejb.EJBException extends Java. lang. RuntimeException.
- CThe javax.ejb.EJBTransactionRequiredException is an application exception.
- DAn application exception must NOT be a subclass of Java.rmi.RemoteException.
- EThe javax.ejb.EJBTransactionRolledbackException is an application exception.
- FAny subclass of Java.lang.RuntimeException is always considered a system exception.
How the community answered
(42 responses)- A2% (1)
- B71% (30)
- C17% (7)
- E2% (1)
- F7% (3)
Community Discussion
No community discussion yet for this question.