You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by bu...@apache.org on 2003/06/12 21:40:00 UTC

DO NOT REPLY [Bug 20730] New: - [patch] More descriptive exception on failure to create Jexl expression

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=20730>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=20730

[patch] More descriptive exception on failure to create Jexl expression

           Summary: [patch] More descriptive exception on failure to create
                    Jexl expression
           Product: Commons
           Version: 1.0 Alpha
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Jelly
        AssignedTo: commons-dev@jakarta.apache.org
        ReportedBy: proyal@apache.org


If you have an invalid expression, such as 'variable.length = 0', Jexl just comes back with 'Invalid 
expression'.. Makes it kinda hard to locate the problem in your script :)

The attached patch just puts the expression text into the wrapped exception from Jexl.

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org