You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@velocity.apache.org by "Malcolm Edgar (JIRA)" <ji...@apache.org> on 2005/11/22 12:09:42 UTC
[jira] Updated: (VELOCITY-424) directive.Parse eating RuntimeException
[ http://issues.apache.org/jira/browse/VELOCITY-424?page=all ]
Malcolm Edgar updated VELOCITY-424:
-----------------------------------
Attachment: Parse_patch.txt
Fix for Parse eating runtime exceptions
> 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: velocity-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: velocity-dev-help@jakarta.apache.org