Hello All,
We had a problem mapping subclasses of java.lang.Exception in XML using JAXB 2.1. In
particular, JAXB tried to map Exception.stackTrace field and failed with the following
error: IllegalAnnotationsException: "java.lang.StackTraceElement does not have a
no-arg default constructor".
Luckily JBoss JAXBIntroductions provided us a workaround. Once I added support for
@XmlTransient annotation I was able to annotate Exception with @XmlTransient in JaxbIntros
meta data. (Another way may be annotating Throwable.stackTrace).
Can I contribute to JaxbIntros project by submitting @XmlTransient support
(XmlTransientHandler and XmlTransientIntro) into SVN?
Best Regards,
Andy Malakov
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4123611#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...