[
http://jira.jboss.com/jira/browse/JBSEAM-186?page=all ]
Gavin King closed JBSEAM-186.
-----------------------------
Fix Version/s: 1.1.0.BETA2
Resolution: Done
Already done.
Exception event listeners.
--------------------------
Key: JBSEAM-186
URL:
http://jira.jboss.com/jira/browse/JBSEAM-186
Project: JBoss Seam
Issue Type: Feature Request
Components: Core
Reporter: Gavin King
Assigned To: Gavin King
Fix For: 1.1.0.BETA2
Add an exceptions.xml file in WEB-INF that provides mappings to actions:
<exceptions>
<exception class="java.lang.IllegalStateException"
action="#{exceptions.handleIllegalState}"/>
<exception class="java.lang.Throwable"
view-id="/error.jsp"/>
...
</exceptions>
Only the most-specific action for an exception type would be invoked.
Not sure how easy it is to implement this right now, since apparently JSF nastily
swallows/wraps some exceptions. Need to investigate. (Perhaps what the action around the
EJBs, not the JSF lifecycle.)
--
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