myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jak...@apache.org
Subject svn commit: r934200 - /myfaces/core/trunk/impl/src/main/java/org/apache/myfaces/view/jsp/FaceletsOnlyException.java
Date Wed, 14 Apr 2010 21:21:04 GMT
Author: jakobk
Date: Wed Apr 14 21:21:02 2010
New Revision: 934200

URL: http://svn.apache.org/viewvc?rev=934200&view=rev
Log:
MYFACES-2658 Indicate a better error when using Facelet TAGs on JSP(X) pages (added some JavaDoc
about the inheritance of FacesException)

Modified:
    myfaces/core/trunk/impl/src/main/java/org/apache/myfaces/view/jsp/FaceletsOnlyException.java

Modified: myfaces/core/trunk/impl/src/main/java/org/apache/myfaces/view/jsp/FaceletsOnlyException.java
URL: http://svn.apache.org/viewvc/myfaces/core/trunk/impl/src/main/java/org/apache/myfaces/view/jsp/FaceletsOnlyException.java?rev=934200&r1=934199&r2=934200&view=diff
==============================================================================
--- myfaces/core/trunk/impl/src/main/java/org/apache/myfaces/view/jsp/FaceletsOnlyException.java
(original)
+++ myfaces/core/trunk/impl/src/main/java/org/apache/myfaces/view/jsp/FaceletsOnlyException.java
Wed Apr 14 21:21:02 2010
@@ -22,6 +22,10 @@ package org.apache.myfaces.view.jsp;
  * An Exception that indicates that the user uses a
  * facelets-only feature on a JSP.
  * 
+ * NOTE: this class must not extend FacesException, because
+ * otherwise its message won't be displayed by the ExceptionHandler.
+ * Thus it directly extends Exception.
+ * 
  * @author Jakob Korherr (latest modification by $Author$)
  * @version $Revision$ $Date$
  * 



Mime
View raw message