You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@velocity.apache.org by "Siri C. (JIRA)" <de...@velocity.apache.org> on 2009/10/15 10:28:31 UTC

[jira] Created: (VELOCITY-738) It would be useful to know that the error is occurred in which context.

It would be useful to know that the error is occurred in which context.
-----------------------------------------------------------------------

                 Key: VELOCITY-738
                 URL: https://issues.apache.org/jira/browse/VELOCITY-738
             Project: Velocity
          Issue Type: Improvement
          Components: Engine
    Affects Versions: 1.6.2
            Reporter: Siri C.


It would be better, if an error message display surroundings of the place where the error is. 
For example: 
To display that an "(" character is illegal (there are hundreds of those characters in a template)
but it would be useful to know that this character occurred in the context "product.getName()".

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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


[jira] Resolved: (VELOCITY-738) It would be useful to know that the error is occurred in which context.

Posted by "Will Glass-Husain (JIRA)" <de...@velocity.apache.org>.
     [ https://issues.apache.org/jira/browse/VELOCITY-738?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Will Glass-Husain resolved VELOCITY-738.
----------------------------------------

    Resolution: Won't Fix

If you catch the ParseException, it contains properties for the template name, line, and column number,

> It would be useful to know that the error is occurred in which context.
> -----------------------------------------------------------------------
>
>                 Key: VELOCITY-738
>                 URL: https://issues.apache.org/jira/browse/VELOCITY-738
>             Project: Velocity
>          Issue Type: Improvement
>          Components: Engine
>    Affects Versions: 1.6.2
>            Reporter: Siri C.
>
> It would be better, if an error message display surroundings of the place where the error is. 
> For example: 
> To display that an "(" character is illegal (there are hundreds of those characters in a template)
> but it would be useful to know that this character occurred in the context "product.getName()".

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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


[jira] Commented: (VELOCITY-738) It would be useful to know that the error is occurred in which context.

Posted by "Pakornpong Pothipruk (JIRA)" <de...@velocity.apache.org>.
    [ https://issues.apache.org/jira/browse/VELOCITY-738?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12766495#action_12766495 ] 

Pakornpong Pothipruk commented on VELOCITY-738:
-----------------------------------------------

When I use Velocity on an RTF document, I would like Velocity to also tell me that the exception (e.g. one above) occurs on which line of my RTF document. Is that possible with the current engine?

> It would be useful to know that the error is occurred in which context.
> -----------------------------------------------------------------------
>
>                 Key: VELOCITY-738
>                 URL: https://issues.apache.org/jira/browse/VELOCITY-738
>             Project: Velocity
>          Issue Type: Improvement
>          Components: Engine
>    Affects Versions: 1.6.2
>            Reporter: Siri C.
>
> It would be better, if an error message display surroundings of the place where the error is. 
> For example: 
> To display that an "(" character is illegal (there are hundreds of those characters in a template)
> but it would be useful to know that this character occurred in the context "product.getName()".

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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