[seam-issues] [JBoss JIRA] Commented: (SEAMCATCH-26) Make caught exception available as named bean

Jason Porter (JIRA) jira-events at lists.jboss.org
Mon Dec 27 16:27:17 EST 2010


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

Jason Porter commented on SEAMCATCH-26:
---------------------------------------

We're talking about the first CaughtException we create?

> Make caught exception available as named bean
> ---------------------------------------------
>
>                 Key: SEAMCATCH-26
>                 URL: https://issues.jboss.org/browse/SEAMCATCH-26
>             Project: Seam Catch
>          Issue Type: Feature Request
>          Components: Core Implementation
>            Reporter: Dan Allen
>            Assignee: Jason Porter
>            Priority: Minor
>
> As we get into error pages, it's going to be useful to have the caught exception available via a named bean. I think this is just a matter of adding a dependent-scoped producer that reads the value of the current CaughtException from a field in the exception dispatcher.
> In Seam 2, the following two variables were available:
> org.jboss.seam.caughtException - the original exception that was caught
> org.jboss.seam.handledException - the exception cause currently being handled
> I think we could just map org.jboss.seam.caughtException to CaughtException...that way all the info is available, including the exception being handled, the original exception and the unwrapped stack.
>  

-- 
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