Author: lu4242
Date: Wed Jun 29 23:55:34 2011
New Revision: 1141338
URL: http://svn.apache.org/viewvc?rev=1141338&view=rev
Log:
MYFACES-3192 exception from render response phase is logged 2x
Modified:
myfaces/core/trunk/impl/src/main/java/org/apache/myfaces/view/facelets/FaceletViewDeclarationLanguage.java
Modified: myfaces/core/trunk/impl/src/main/java/org/apache/myfaces/view/facelets/FaceletViewDeclarationLanguage.java
URL: http://svn.apache.org/viewvc/myfaces/core/trunk/impl/src/main/java/org/apache/myfaces/view/facelets/FaceletViewDeclarationLanguage.java?rev=1141338&r1=1141337&r2=1141338&view=diff
==============================================================================
--- myfaces/core/trunk/impl/src/main/java/org/apache/myfaces/view/facelets/FaceletViewDeclarationLanguage.java
(original)
+++ myfaces/core/trunk/impl/src/main/java/org/apache/myfaces/view/facelets/FaceletViewDeclarationLanguage.java
Wed Jun 29 23:55:34 2011
@@ -1922,6 +1922,7 @@ public class FaceletViewDeclarationLangu
protected void handleRenderException(FacesContext context, Exception e)
throws IOException, ELException, FacesException
{
+ /*
UIViewRoot root = context.getViewRoot();
StringBuffer sb = new StringBuffer(64);
sb.append("Error Rendering View");
@@ -1933,6 +1934,7 @@ public class FaceletViewDeclarationLangu
}
log.log(Level.SEVERE, sb.toString(), e);
+ */
// rethrow the Exception to be handled by the ExceptionHandler
if (e instanceof RuntimeException)
|