You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by pr...@apache.org on 2003/06/22 22:25:53 UTC
cvs commit: jakarta-commons/jelly/src/java/org/apache/commons/jelly/expression/jexl JexlExpressionFactory.java
proyal 2003/06/22 13:25:53
Modified: jelly/src/java/org/apache/commons/jelly/expression/jexl
JexlExpressionFactory.java
Log:
bugzilla 20730 - Be more descriptive when unable to create an expression
Revision Changes Path
1.15 +6 -6 jakarta-commons/jelly/src/java/org/apache/commons/jelly/expression/jexl/JexlExpressionFactory.java
Index: JexlExpressionFactory.java
===================================================================
RCS file: /home/cvs/jakarta-commons/jelly/src/java/org/apache/commons/jelly/expression/jexl/JexlExpressionFactory.java,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -r1.14 -r1.15
--- JexlExpressionFactory.java 24 Jan 2003 07:40:59 -0000 1.14
+++ JexlExpressionFactory.java 22 Jun 2003 20:25:53 -0000 1.15
@@ -107,7 +107,7 @@
org.apache.commons.jexl.ExpressionFactory.createExpression(text)
);
} catch (Exception e) {
- throw new JellyException(e);
+ throw new JellyException("Unable to create expression: " + text, e);
}
if ( isSupportAntVariables() && isValidAntVariableName(text) ) {
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org