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