Works, thanks.
<!-- Catch all exception handler -->
| <exception class="java.lang.Throwable">
| <redirect view-id="/notify.xhtml">
| <message severity="warn">#{m.exception_general}</message>
| </redirect>
| </exception>
|
| <!-- notify the administrator that an exception has occurred -->
| <page view-id="/notify.xhtml"
action="#{exceptionNotificationService.send}">
| <navigation>
| <redirect view-id="/error.xhtml" />
| </navigation>
| </page>
|
| Use Contexts.getConversationContext().get("org.jboss.seam.handledException")
to get the exception in ExceptionNotificationService.send()
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4044714#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...