You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2004/06/10 15:22:41 UTC
DO NOT REPLY [Bug 29495] New: -
ServletContextListener and errors
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=29495>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=29495
ServletContextListener and errors
Summary: ServletContextListener and errors
Product: Tomcat 5
Version: 5.0.25
Platform: All
OS/Version: Other
Status: NEW
Severity: Normal
Priority: Other
Component: Servlet & JSP API
AssignedTo: tomcat-dev@jakarta.apache.org
ReportedBy: bim2003@basistech.com
Tomcat helpfully catches exceptions from ServletContextListeners and aborts
the initialization of the web app. There's just one problem: a listener cannot
explicitly throw an exception, because the signature for the methods of the
listener does not include any throws.
If this is imposed by the servlet API standard, could Tomcat allow some tricky
API that notes an error in a listener?
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org