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

Henning Schmiedehausen closed VELOCITY-105.
-------------------------------------------


> ParseErrorException and ResourceNotException not throwed back to the 
> VelocityEngine
> -----------------------------------------------------------------------------------
>
>                 Key: VELOCITY-105
>                 URL: https://issues.apache.org/jira/browse/VELOCITY-105
>             Project: Velocity
>          Issue Type: Bug
>          Components: Build
>    Affects Versions: 1.3-rc1
>         Environment: Operating System: All
> Platform: All
>            Reporter: 12345
>         Assigned To: Velocity-Dev List
>             Fix For: 1.4
>
>
> When the parser catch a ParseErrorException or a ResourceNotFoundException it 
> does not throw it back to the VelocityEngine when that exception occurs in a 
> template parsed by another template.
> More precisly: in org.apache.velocity.runtime.directive.Parse , the render 
> method is supposed to throw all three possible Velocity exceptions but it 
> just 
> do so when the calling object is not the Parse object itself , since the 
> recursion call to render(InternalContextAdapter context,Writer writer, Node 
> node)at line #232 in the render method catch Exception but only throw back 
> MethodInvokationException, so ParseErrorException and 
> ResourceNotFoundException 
> are just logged.

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

Reply via email to