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: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to