You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@velocity.apache.org by "Henning Schmiedehausen (JIRA)" <de...@velocity.apache.org> on 2007/03/08 01:04:43 UTC

[jira] Closed: (VELOCITY-424) directive.Parse eating RuntimeException

     [ https://issues.apache.org/jira/browse/VELOCITY-424?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Henning Schmiedehausen closed VELOCITY-424.
-------------------------------------------


> directive.Parse eating RuntimeException
> ---------------------------------------
>
>                 Key: VELOCITY-424
>                 URL: https://issues.apache.org/jira/browse/VELOCITY-424
>             Project: Velocity
>          Issue Type: Bug
>          Components: Engine
>    Affects Versions: 1.5
>            Reporter: Malcolm Edgar
>         Assigned To: Henning Schmiedehausen
>             Fix For: 1.5
>
>         Attachments: Parse_patch.txt
>
>
> The org.apache.velocity.runtime.directive.Parse class is "eating" RuntimeExceptions thrown by Nodes being rendered on line 195.   These errors are logged, but are not rethrown.
> These types of errors are typically NPE being thrown by model objects trying to render themselves using their toString() method.
> It is better if any RuntimeExceptions are not caught by this method, as it allows the calling code to document/report the error. 

-- 
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