[seam-issues] [JBoss JIRA] Commented: (SEAMFACES-90) Exceptions thrown within a Seam Catch handler are swallowed by Faces

Brian Leathem (JIRA) jira-events at lists.jboss.org
Thu Feb 24 19:05:05 EST 2011


    [ https://issues.jboss.org/browse/SEAMFACES-90?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12584609#comment-12584609 ] 

Brian Leathem commented on SEAMFACES-90:
----------------------------------------

It should be trivial to compare the exception thrown within catch to the exception handled by catch, to see if it's a new exception.

Ideally this new exception would be dealt with by the JSF exception handling mechanism.  Or at least have the new exception logged, and let JSF deal with the original exception.

> Exceptions thrown within a Seam Catch handler are swallowed by Faces
> --------------------------------------------------------------------
>
>                 Key: SEAMFACES-90
>                 URL: https://issues.jboss.org/browse/SEAMFACES-90
>             Project: Seam Faces
>          Issue Type: Bug
>          Components: Exception Handling
>    Affects Versions: 3.0.0.CR1
>            Reporter: Brian Leathem
>            Assignee: Brian Leathem
>             Fix For: 3.0.0.Final
>
>
> The fix in SEAMFACES-87 allows exceptions re-thrown by catch to be dealt with by the JSF exception handling mechanism.  However, the fix for SEAMFACES-87 also swallows new exceptions generated within catch (for instance an NPE originating in the Catch handler).

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the seam-issues mailing list