nerdexam
Oracle

1Z0-899 · Question #16

A servlet wishes to indicate that it is unable to initialize at the present time, but that the initialization might succeed at some future time. Which is true?

The correct answer is D. The servlet should throw an UnavailableException. See the full explanation below for the reasoning.

Question

A servlet wishes to indicate that it is unable to initialize at the present time, but that the initialization might succeed at some future time. Which is true?

Options

  • AThis cannot be expressed. A servlet either initializes correctly or fails.
  • BThis expression is not necessary. If a servlet fails to initialize, the container will try again later
  • CThe servlet should delay until it is ready to complete initialization successfully.
  • DThe servlet should throw an UnavailableException
  • EThe servlet should throw a servletException

How the community answered

(17 responses)
  • C
    6% (1)
  • D
    82% (14)
  • E
    12% (2)

Community Discussion

No community discussion yet for this question.

Full 1Z0-899 Practice