[jbossseam-issues] [JBoss JIRA] Created: (JBSEAM-2714) Detect swallowed exceptions

Matt Drees (JIRA) jira-events at lists.jboss.org
Mon Mar 10 00:55:57 EDT 2008


Detect swallowed exceptions
---------------------------

                 Key: JBSEAM-2714
                 URL: http://jira.jboss.com/jira/browse/JBSEAM-2714
             Project: JBoss Seam
          Issue Type: Feature Request
          Components: Exception Handling
            Reporter: Matt Drees
            Priority: Minor


Sometimes exceptions are swallowed by frameworks out of Seam's control (Facelets debug component, for example does this; see http://www.seamframework.org/Community/FetchingDataLazilyOnANewPage#comment9216).  However, a rollback may be triggered by the throwing of such an exception, due to the RollbackInterceptor.
Because the exception is swallowed, the developer has no immediate indication that an error has occurred, yet the persistence context will be cleared.  It's a very frustrating experience, trust me.

Could Seam use an interceptor to note when a (non-application) exception is thrown by a Seam component, and if it is not eventually handled by Seam's exception handler at the end of the request, trigger a warning & a stacktrace in the log?

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the seam-issues mailing list