Hi! Sometimes there is an exception in model update (propertymodels, etc.) and is hard to know which component caused the problem. This component path will help to resolve which component was guilty.
** Martin 2011/10/8 Martin Grigorov <[email protected]>: > ? > > catching Throwable is not good, Exception is enough > But can you give more details > > On Sat, Oct 8, 2011 at 10:06 AM, Martin Makundi > <[email protected]> wrote: >> Hi! >> >> For debugging, in Component.java: >> >> try { >> modelChanging(); >> model.setObject(object); >> modelChanged(); >> } catch (Throwable t) { >> throw new RuntimeException("PageRelativePath: " + >> getPageRelativePath(), t); >> } >> >> >> ** >> Martin >> > > > > -- > Martin Grigorov > jWeekend > Training, Consulting, Development > http://jWeekend.com >
