Oracle
1Z0-899 · Question #14
1Z0-899 Question #14: Real Exam Question with Answer & Explanation
Sign in or unlock 1Z0-899 to reveal the answer and full explanation for question #14. The question stem and answer options stay visible for context.
Question
A method call inside your servlet has thrown an IOException resulting from a lost network connection to a necessary resource. The servlet has determined that it will be unable to operate successfully fen few minutes, but expects to be able to resume operation after that period. How should this situation handled?
Options
- AThe servlet should re-throw the exception to the web container.
- BThe servlet should throw a servletException to the web container.
- CThe servlet should throw an unavailableException to the web container.
- DThe servlet should redirect to an error page that reports the exception message.
- EThe servlet should retry the request until the method returns successfully.
Unlock 1Z0-899 to see the answer
You've previewed enough free 1Z0-899 questions. Unlock 1Z0-899 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.