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?
A.
This cannot be expressed. A servlet either initializes correctly or fails.
B.
This expression is not necessary. If a servlet fails to initialize, the container will try again later
each time a request is received that attempts to invoke that servlet.
C.
The servlet should delay until it is ready to complete initialization successfully.
D.
The servlet should throw an UnavailableException
E.
The servlet should throw a servletException
D
en la version 1z0-899 esta la misma pregunta pero la respuesta correcta es la E, cual es la correcta?
For me the correct answer is D because the question asks for a limitated duration problem.
I agree with giuseppe
UnavailableException extends ServletException, so D is “more” correct, not any ServletException is valid, only UnavailableException (and only if constructed with message and time in seconds http://docs.oracle.com/javaee/6/api/javax/servlet/UnavailableException.html).