You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by de...@apache.org on 2018/05/08 12:48:05 UTC

[myfaces] 05/08: MYFACES-2658 Indicate a better error when using Facelet TAGs on JSP(X) pages (change to FacesException)

This is an automated email from the ASF dual-hosted git repository.

deki pushed a commit to branch 2_0_0
in repository https://gitbox.apache.org/repos/asf/myfaces.git

commit 868ef0b4cda7b6e0b2b8ca37e84d10dec179bd19
Author: Leonardo Uribe <lu...@apache.org>
AuthorDate: Wed Apr 14 19:57:14 2010 +0000

    MYFACES-2658 Indicate a better error when using Facelet TAGs on JSP(X) pages (change to FacesException)
---
 .../main/java/org/apache/myfaces/view/jsp/FaceletsOnlyException.java  | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/impl/src/main/java/org/apache/myfaces/view/jsp/FaceletsOnlyException.java b/impl/src/main/java/org/apache/myfaces/view/jsp/FaceletsOnlyException.java
index c08cb68..f6beef2 100644
--- a/impl/src/main/java/org/apache/myfaces/view/jsp/FaceletsOnlyException.java
+++ b/impl/src/main/java/org/apache/myfaces/view/jsp/FaceletsOnlyException.java
@@ -18,6 +18,8 @@
  */
 package org.apache.myfaces.view.jsp;
 
+import javax.faces.FacesException;
+
 /**
  * An Exception that indicates that the user uses a
  * facelets-only feature on a JSP.
@@ -27,7 +29,7 @@ package org.apache.myfaces.view.jsp;
  * 
  * @since 2.0
  */
-public class FaceletsOnlyException extends Exception
+public class FaceletsOnlyException extends FacesException
 {
 
     private static final long serialVersionUID = 4268633427284543647L;

-- 
To stop receiving notification emails like this one, please contact
deki@apache.org.