JSP: Unhandled exception from bean method Follow
All builds later than 3290. In JSP if I call method from bean which can throw exception:
Java:
public class MyException extends Exception {}
public class MyClass {
public String getValue() throws MyException {
return "value";
}
}
JSP:
<jsp:useBean id="myBean" scope="request"/>
<%=myBean.getValue()%>
I gen an error: "Unhandled exception: MyException". How it can be solved?
--
Denis Popov
Please sign in to leave a comment.
Known issue: http://www.jetbrains.net/jira/browse/IDEADEV-1230
-
Maxim Shafirov
http://www.jetbrains.com
"Develop with pleasure!"
Maxim Shafirov (JetBrains) wrote:
IMHO this is independent from having an error page and at least deserves some control over
the error highlighting. The application server provides its default error page anyway,
even if it isn't nice to look at. But that's OK for a large number of cases.
http://www.jetbrains.net/jira/browse/IDEA-2693
Sascha