28 Nov
2014
28 Nov
'14
8:34 a.m.
On 28 Nov 2014 at 01:00:37, Bryn Jeffries ([email protected](mailto:[email protected])) 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