Oracle
1Z0-899 · Question #151
Assume the custom tag my:errorProne always throws a jav a.lang.RuntimeException with the message "File not found."An error page has been configured for this JSP page. Which option prevents the…
The correct answer is B. <c:catch var="ex">. See the full explanation below for the reasoning.
Question
Assume the custom tag my:errorProne always throws a jav a.lang.RuntimeException with the message "File not found."An error page has been configured for this JSP page. Which option prevents the exception thrown by my:errorProne from invoking the error page mechanism,and outputs the message "File not found" in the response?
Options
- A<c:try catch="ex">
- B<c:catch var="ex">
- C<c:try>
- D<c:try>
- Emy:errorProne
How the community answered
(30 responses)- B80% (24)
- C10% (3)
- D3% (1)
- E7% (2)
Community Discussion
No community discussion yet for this question.