Author: ips
Date: 2009-04-07 17:02:49 -0400 (Tue, 07 Apr 2009)
New Revision: 280
Modified:
trunk/core/src/main/webapp/WEB-INF/exceptions.xml
Log:
remove bogus entry that was causing
https://jira.jboss.org/jira/browse/EMBJOPR-109 (see
also
https://jira.jboss.org/jira/browse/JBSEAM-3845)
Modified: trunk/core/src/main/webapp/WEB-INF/exceptions.xml
===================================================================
--- trunk/core/src/main/webapp/WEB-INF/exceptions.xml 2009-04-07 17:12:28 UTC (rev 279)
+++ trunk/core/src/main/webapp/WEB-INF/exceptions.xml 2009-04-07 21:02:49 UTC (rev 280)
@@ -18,37 +18,22 @@
~ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-->
<exceptions>
- <exception class="javax.persistence.EntityNotFoundException">
- <http-error error-code="404"/>
- </exception>
- <exception class="javax.persistence.PersistenceException">
- <render>PersistenceException was thrown
#{messages['exception.page']}</render>
- <end-conversation/>
- </exception>
- <exception class="java.lang.NullPointerException">
- <redirect view-id="/error.xhtml">
-
- </redirect>
- </exception>
-
- <!-- security redirect stuff -->
+ <!-- Authorization Exceptions -->
<exception class="org.jboss.seam.security.NotLoggedInException">
<redirect view-id="/login.xhtml">
</redirect>
</exception>
-
<exception class="org.jboss.seam.security.AuthorizationException">
<end-conversation/>
<redirect view-id="/login.xhtml">
- <message>You must be logged in to perform this action</message>
+ <message>You must be logged in to perform this action.</message>
</redirect>
</exception>
- <!--Catchall Exception-->
+ <!-- Catch-all for all other Exceptions-->
<exception class="java.lang.Exception">
<end-conversation/>
<redirect view-id="/error.xhtml">
-
</redirect>
</exception>
</exceptions>