Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

MYFACES-3697: Error while parsing Facelet-Lib hides the real reason w…

…hen logging

 - using the constructor to set the cause

git-svn-id: https://svn.apache.org/repos/asf/myfaces/core/trunk@1449029 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information...
commit 3947f6899b3b2e18cc3b7ec5f14aa064d8bb993c 1 parent 8f9c72e
Udo Schnurpfeil authored
View
6 impl/src/main/java/org/apache/myfaces/view/facelets/compiler/TagLibraryConfig.java
@@ -740,10 +740,8 @@ else if ("function".equals(qName))
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)
Please sign in to comment.
Something went wrong with that request. Please try again.