nerdexam
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)
  • A
    4% (2)
  • B
    2% (1)
  • C
    10% (5)
  • D
    84% (41)

Community Discussion

No community discussion yet for this question.

Full 1Z0-860 Practice