What's your Jira user name ? Werner
Niall Smart wrote: > Ralf > > I can't remember my password and haven't received any password reminders > as requested from JIRA. > > Niall > > On 10/20/06, *Ralf Joachim* < [EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]>> wrote: > > Hi Niall, > > would you please add your comment to: > > http://jira.codehaus.org/browse/CASTOR-1642 > > which seams to be a issue about the same problem created recently. > > Regards > Ralf > > > Niall Smart schrieb: > > Dear Castor Users, > > > > I am marshalling my objects to XML using Castor. I would like any > > exceptions thrown by property getters in my classes during the > > marshalling to be propagated through Marshaller.marshall(). Is this > > possible? At the moment Castor silently ignores exceptions during > > marshalling. > > > > From looking at the code, it does not seem straightforward. > > FieldHandlerImpl wraps the InvocationTargetException in an > > IllegalStateException which is simply ignored by Marshaller.marshall() > > i.e. try { } catch { continue; } > > > > The only approach I can think of is to try to interpose my own > > FieldHandler around FieldHandlerImpl which wraps the > > InvocationTargetException in a RuntimeException. > > > > Regards, > > > > Niall > > --------------------------------------------------------------------- > To unsubscribe from this list please visit: > > http://xircles.codehaus.org/manage_email > > --------------------------------------------------------------------- To unsubscribe from this list please visit: http://xircles.codehaus.org/manage_email

