[jboss-cvs] jboss-seam/examples/contactlist/resources/WEB-INF ...
Gavin King
gavin.king at jboss.com
Thu Feb 8 04:15:58 EST 2007
User: gavin
Date: 07/02/08 04:15:58
Added: examples/contactlist/resources/WEB-INF pages.xml
Removed: examples/contactlist/resources/WEB-INF exceptions.xml
Log:
migrated off exceptions.xml
Revision Changes Path
1.6 +19 -11 jboss-seam/examples/contactlist/resources/WEB-INF/pages.xml
(In the diff below, changes in quantity of whitespace are not shown.)
Index: pages.xml
===================================================================
RCS file: pages.xml
diff -N pages.xml
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ pages.xml 8 Feb 2007 09:15:58 -0000 1.6
@@ -0,0 +1,25 @@
+<!DOCTYPE pages PUBLIC
+ "-//JBoss/Seam Exceptions Configuration DTD 1.1//EN"
+ "http://jboss.com/products/seam/pages-1.1.dtd">
+
+<pages>
+
+ <exception class="javax.persistence.PersistenceException">
+ <end-conversation/>
+ <redirect>
+ <message>Database access failed</message>
+ </redirect>
+ </exception>
+
+ <exception class="org.jboss.seam.framework.EntityNotFoundException">
+ <http-error error-code="404"/>
+ </exception>
+
+ <exception>
+ <end-conversation/>
+ <redirect view-id="/search.xhtml">
+ <message>Unexpected failure</message>
+ </redirect>
+ </exception>
+
+</pages>
\ No newline at end of file
More information about the jboss-cvs-commits
mailing list