[jbossseam-issues] [JBoss JIRA] Closed: (JBSEAM-404) Improved exception handling rules

Pete Muir (JIRA) jira-events at lists.jboss.org
Fri Jan 25 13:40:21 EST 2008

     [ http://jira.jboss.com/jira/browse/JBSEAM-404?page=all ]

Pete Muir closed JBSEAM-404.

    Resolution: Out of Date

This was done a while back

> Improved exception handling rules
> ---------------------------------
>                 Key: JBSEAM-404
>                 URL: http://jira.jboss.com/jira/browse/JBSEAM-404
>             Project: JBoss Seam
>          Issue Type: Feature Request
>          Components: Core
>            Reporter: Louis Coetzee
> Seam provides the @Redirect annotation for use on Exception classes. It provides an attribute to specify the target viewId to redirect to once the exception has been thrown. It would be good if this view Id can be specified dynamically.
> e.g.
> @Name("napException")
> @ApplicationException(rollback=true)
> @Redirect(viewId = "#{napException.viewId}")
> public class NAPException extends Exception implements Serializable {
> or in xml
> <from-view-id>/xxx.jsp</from-view-id>
> <from-exception>com.myapp.NAPException</from-exception>
> <to-view-id>/error.jsp</to-view-id>
> <redirect/>	

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


More information about the seam-issues mailing list