Have you seen this?
http://wiki.apache.org/velocity/FeedTool

Something like it should work for you.  If you use a tool like this,
you can catch exceptions easily in the tool.  Catching exceptions in
VTL is not allowed.

On Sun, Apr 25, 2010 at 3:39 AM, bluejoe2008 <bluejoe2...@gmail.com> wrote:
> hi, i have 2 questions
>
> the first is, how to let #parse keep silent while any exception happened in 
> the included file?
> my second question is: is there any way to catch exception in VTL? for 
> example :
>
> #set($feed = $rssReader.getFeed("xxxxxx"))
> rssReader.getFeed() will throw a MalformedURLException
> how to catch such exception in VTL?
>
> best regards
> bluejoe
>
> 2010-04-25
>
>
>
> bluejoe2008
>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@velocity.apache.org
For additional commands, e-mail: user-h...@velocity.apache.org

Reply via email to