[jbossseam-issues] [JBoss JIRA] Closed: (JBSEAM-2595) Exception handling - Never swallow an exception

Pete Muir (JIRA) jira-events at lists.jboss.org
Sat Aug 30 08:36:38 EDT 2008

     [ https://jira.jboss.org/jira/browse/JBSEAM-2595?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Pete Muir closed JBSEAM-2595.

    Fix Version/s:     (was: 2.1.0.CR1)
       Resolution: Won't Fix

Closing, as I think that Gavin is correct, and we should handle this through education:

1) seam-gen based projects include a defualt exception handler
2) the docs recommend a defualt exception handler

> Exception handling - Never swallow an exception
> -----------------------------------------------
>                 Key: JBSEAM-2595
>                 URL: https://jira.jboss.org/jira/browse/JBSEAM-2595
>             Project: Seam
>          Issue Type: Feature Request
>          Components: Exception Handling
>            Reporter: Shane Bryzak
>            Assignee: Christian Bauer
> For example, if an action throws NPE, the exception handler checks
> what is defined in pages.xml. If no handler is defined,
> SeamPhaseListener swallows the exception after printing it in the log.
> This is a bad strategy, as most users start with no exception handling
> defined and no pages.xml, yet they don't see their exceptions on the
> page. We need SOME default handler, even if no pages.xml is present.

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


More information about the seam-issues mailing list