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

_______________________________________________
users mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/users

Reply via email to