You are viewing a plain text version of this content. The canonical link for it is here.
Posted to taglibs-dev@jakarta.apache.org by lu...@apache.org on 2002/10/11 22:11:42 UTC
cvs commit: jakarta-taglibs/standard/src/org/apache/taglibs/standard/lang/jstl Evaluator.java Resources.properties
luehe 2002/10/11 13:11:42
Modified: standard/src/org/apache/taglibs/standard/lang/jstl
Evaluator.java Resources.properties
Log:
Expose root cause of EL expression evaluation failure
Revision Changes Path
1.8 +3 -2 jakarta-taglibs/standard/src/org/apache/taglibs/standard/lang/jstl/Evaluator.java
Index: Evaluator.java
===================================================================
RCS file: /home/cvs/jakarta-taglibs/standard/src/org/apache/taglibs/standard/lang/jstl/Evaluator.java,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- Evaluator.java 15 Jul 2002 23:50:20 -0000 1.7
+++ Evaluator.java 11 Oct 2002 20:11:42 -0000 1.8
@@ -143,13 +143,14 @@
defaultPrefix);
}
catch (ELException exc) {
- throw new JspException
+ throw new JspException
(MessageFormat.format
(Constants.ATTRIBUTE_EVALUATION_EXCEPTION,
new Object [] {
"" + pAttributeName,
"" + pAttributeValue,
- exc.getMessage ()
+ exc.getMessage(),
+ exc.getRootCause()
}));
}
}
1.7 +1 -1 jakarta-taglibs/standard/src/org/apache/taglibs/standard/lang/jstl/Resources.properties
Index: Resources.properties
===================================================================
RCS file: /home/cvs/jakarta-taglibs/standard/src/org/apache/taglibs/standard/lang/jstl/Resources.properties,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- Resources.properties 2 Oct 2002 19:41:48 -0000 1.6
+++ Resources.properties 11 Oct 2002 20:11:42 -0000 1.7
@@ -125,7 +125,7 @@
ATTRIBUTE_EVALUATION_EXCEPTION=\
An error occurred while evaluating custom action attribute "{0}" \
- with value "{1}": {2}
+ with value "{1}": {2} ({3})
ATTRIBUTE_PARSE_EXCEPTION=\
An error occurred while parsing custom action attribute "{0}" \
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>