[seam-issues] [JBoss JIRA] (SOLDER-153) Make caught exception available as named bean

Jason Porter (JIRA) jira-events at lists.jboss.org
Wed Feb 22 15:07:36 EST 2012


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

Jason Porter commented on SOLDER-153:
-------------------------------------

That's probably an implementation detail. I don't recall reading anything stating when the conversation should be destroyed. If that's the case then this may not actually be possible without fixing the bug and possibly getting a spec clarification for CDI 1.1
                
> Make caught exception available as named bean
> ---------------------------------------------
>
>                 Key: SOLDER-153
>                 URL: https://issues.jboss.org/browse/SOLDER-153
>             Project: Solder
>          Issue Type: Feature Request
>          Components: Core
>            Reporter: Dan Allen
>            Assignee: Jason Porter
>            Priority: Minor
>             Fix For: 3.0.0.Beta2
>
>
> 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.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the seam-issues mailing list