[ 
http://issues.apache.org/jira/browse/VELOCITY-424?page=comments#action_12360268 
] 

Will Glass-Husain commented on VELOCITY-424:
--------------------------------------------

Thanks for reporting on this.  Coincidentally, I have an update for later today 
on runtime exceptions.  Let me commit that than we can take a look at this in 
light of that.

> directive.Parse eating RuntimeException
> ---------------------------------------
>
>          Key: VELOCITY-424
>          URL: http://issues.apache.org/jira/browse/VELOCITY-424
>      Project: Velocity
>         Type: Bug
>   Components: Source
>     Versions: 1.5
>     Reporter: Malcolm Edgar
>  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.
-
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