Hi Todd,
No special reason, just an oversight. If you can open up a bug report that would be great.
http://jira.codehaus.org
Thanks,
--Keith
Todd Fuller wrote:
Hello fellow Castor users,
I have a situation where a Castor XML Unmarshaller object is throwing a ValidationException, which I then wrap and throw across an RMI call. This should be ok because ValidationException implements Serializable. However, the jvm complains that org.exolab.castor.xml.XPathLocation, contained within ValidationException as a Location interface, is not Serializable (which it isn't).
Is there any reason that XPathLocation and/or Location are not declared Serializable? I took a look at the XPathLocation code, and it looks like it's just a Vector of Strings.
Thanks in advance, --Todd

