[jbossseam-issues] [JBoss JIRA] Created: (JBSEAM-2927) Ability to designate an existing RuntimeException as an ApplicationException

Matt Drees (JIRA) jira-events at lists.jboss.org
Fri Apr 25 01:27:08 EDT 2008


Ability to designate an existing RuntimeException as an ApplicationException
----------------------------------------------------------------------------

                 Key: JBSEAM-2927
                 URL: http://jira.jboss.com/jira/browse/JBSEAM-2927
             Project: Seam
          Issue Type: Feature Request
          Components: Core, Exception Handling
            Reporter: Matt Drees
            Priority: Minor


Currently, if you annotate a runtime exception with @ApplicationException and it propagates out of a component, Seam won't roll back the transaction.  It'd be nice if we could indicate a third-party RuntimeException should be treated likewise.  See forum for more details.

Maybe it could be folded into existing exception handling setup in pages.xml:

    <exception class="javax.faces.ValidatorException">
        <application-exception/>
    </exception>

and

    <exception class="third.party.CheckedException">
        <application-exception rollback="true" end="false"/>
    </exception>



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