Change005

Last modified by Vincent Massol on 2021/04/06

The Velocity #try() directive now accepts an optional parameter to specify the name of a Velocity variable into which to save the caught exception. For example:

{{velocity}}
#try("myexception")
$services.query.xwql("zzzzz").execute()
#end

#if ($myexception != '')
  ... do something...
#end
{{/velocity}}
Tags:
   

Get Connected