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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to