[prev in list] [next in list] [prev in thread] [next in thread]
List: velocity-dev
Subject: DO NOT REPLY [Bug 12976] New: -
From: bugzilla () apache ! org
Date: 2002-09-24 21:33:45
[Download RAW message or body]
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=12976>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=12976
ParseErrorException and ResourceNotException not throwed back to the VelocityEngine
Summary: ParseErrorException and ResourceNotException not throwed
back to the VelocityEngine
Product: Velocity
Version: 1.3-rc1
Platform: All
OS/Version: Windows NT/2K
Status: NEW
Severity: Normal
Priority: Other
Component: Build
AssignedTo: velocity-dev@jakarta.apache.org
ReportedBy: ngagnon@newtradetech.com
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.
--
To unsubscribe, e-mail: <mailto:velocity-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:velocity-dev-help@jakarta.apache.org>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic