On 28 Nov 2014 at 01:00:37, Bryn Jeffries
(bryn.jeffries@sydney.edu.au(mailto:bryn.jeffries@sydney.edu.au)) wrote:
What's the preferred way to deal with errors
occuring in Java components? Is it OK to throw an exception from within the component,
yes
and can this be caught within the Velocity or Groovy
code that calls it?
errors are automatically caught in the script macros ({{velocity}}, {{groovy}}, etc).
Thanks
-Vincent