[seam-issues] [JBoss JIRA] (SOLDER-153) Make caught exception available as named bean
Jason Porter (JIRA)
jira-events at lists.jboss.org
Fri Feb 17 13:03:36 EST 2012
[ https://issues.jboss.org/browse/SOLDER-153?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12668984#comment-12668984 ]
Jason Porter commented on SOLDER-153:
-------------------------------------
Broken any way we try it huh? Okay, what about your first pull request, does that work?
> 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