You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by lo...@apache.org on 2013/02/22 14:33:15 UTC
svn commit: r1449029 -
/myfaces/core/trunk/impl/src/main/java/org/apache/myfaces/view/facelets/compiler/TagLibraryConfig.java
Author: lofwyr
Date: Fri Feb 22 13:33:15 2013
New Revision: 1449029
URL: http://svn.apache.org/r1449029
Log:
MYFACES-3697: Error while parsing Facelet-Lib hides the real reason when logging
- using the constructor to set the cause
Modified:
myfaces/core/trunk/impl/src/main/java/org/apache/myfaces/view/facelets/compiler/TagLibraryConfig.java
Modified: myfaces/core/trunk/impl/src/main/java/org/apache/myfaces/view/facelets/compiler/TagLibraryConfig.java
URL: http://svn.apache.org/viewvc/myfaces/core/trunk/impl/src/main/java/org/apache/myfaces/view/facelets/compiler/TagLibraryConfig.java?rev=1449029&r1=1449028&r2=1449029&view=diff
==============================================================================
--- myfaces/core/trunk/impl/src/main/java/org/apache/myfaces/view/facelets/compiler/TagLibraryConfig.java (original)
+++ myfaces/core/trunk/impl/src/main/java/org/apache/myfaces/view/facelets/compiler/TagLibraryConfig.java Fri Feb 22 13:33:15 2013
@@ -740,10 +740,8 @@ public final class TagLibraryConfig
public void error(SAXParseException e) throws SAXException
{
- SAXException saxe = new SAXException("Error Handling [" + this.source + "@" + e.getLineNumber() + ","
- + e.getColumnNumber() + "]");
- saxe.initCause(e);
- throw saxe;
+ throw new SAXException(
+ "Error Handling [" + this.source + "@" + e.getLineNumber() + "," + e.getColumnNumber() + "]", e);
}
public void setDocumentLocator(Locator locator)