[jbossseam-issues] [JBoss JIRA] Created: (JBSEAM-1183) Allow custom ExceptionHandler implementations to be inserted

Mike Quilleash (JIRA) jira-events at lists.jboss.org
Fri Apr 13 06:44:58 EDT 2007

Allow custom ExceptionHandler implementations to be inserted

                 Key: JBSEAM-1183
                 URL: http://jira.jboss.com/jira/browse/JBSEAM-1183
             Project: JBoss Seam
          Issue Type: Feature Request
          Components: Core
    Affects Versions: 1.1.6.GA
         Environment: Any
            Reporter: Mike Quilleash

Currently you can only configure a small subset of actions to occur on an exception (redirect, http-error etc).  Enhancing the exception configuration xml to allow pluggable ExceptionHandler implementations would make this a lot more flexible.

e.g. pages.xml

   <!-- the current way, exception class + action -->
   <exception class="javax.persistence.EntityNotFoundException">
      <http-error error-code="404"/>
   <!-- proposed enhancement -->
   <exception handlerClass="com.xxx.seam.CustomExceptionHandler"/>   

These should probably have higher precedence than standard configure-by-exception-class handlers.

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