Author: remy.maucherat(a)jboss.com
Date: 2011-12-22 09:19:32 -0500 (Thu, 22 Dec 2011)
New Revision: 1905
Modified:
trunk/java/org/apache/jasper/compiler/Validator.java
Log:
Similar to JBWEB-211, improve exception handling.
Modified: trunk/java/org/apache/jasper/compiler/Validator.java
===================================================================
--- trunk/java/org/apache/jasper/compiler/Validator.java 2011-12-22 13:55:11 UTC (rev
1904)
+++ trunk/java/org/apache/jasper/compiler/Validator.java 2011-12-22 14:19:32 UTC (rev
1905)
@@ -1213,9 +1213,9 @@
try {
jspAttrs[i].validateEL(this.pageInfo.getExpressionFactory(), ctx);
} catch (ELException e) {
- this.err.jspError(n.getStart(),
+ this.err.jspError(n,
"jsp.error.invalid.expression",
- attrs.getValue(i), e.toString());
+ attrs.getValue(i), e);
}
} else {
// Runtime expression
Show replies by date