[ http://issues.apache.org/jira/browse/VELOCITY-373?page=all ]

Malcolm Edgar updated VELOCITY-373:
-----------------------------------

    Attachment: Parser.jjt.txt

Requested Parser.jjt

> Enhance ParseErrorException
> ---------------------------
>
>          Key: VELOCITY-373
>          URL: http://issues.apache.org/jira/browse/VELOCITY-373
>      Project: Velocity
>         Type: Improvement
>   Components: Source
>     Versions: 1.5
>  Environment: Operating System: other
> Platform: Other
>     Reporter: Malcolm Edgar
>     Priority: Minor
>      Fix For: 1.5
>  Attachments: ParseErrorException.txt, ParseErrorException.txt, 
> ParseException.txt, Parser.jjt.txt, Parser.txt, Template.txt
>
> Enhance the ParseErrorException to report:
> * template name (path)
> * error line
> * error column
> The Click framework attempts to render the template error highlighting the
> offending line. However when templates or macros are included in a page, the 
> source of the error cannot be determined from the ParseErrorException message.
> If the additional properties could be added to the ParseErrorException
> the framework could accurately render the offending template error. This
> information should enable quicker debugging of usage errors by all Velocity 
> users.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to