[jboss-dev-forums] [Design of JBoss ESB] - Small addition to JAXBIntroductions: Support for @XmlTransie
AndyMalakov
do-not-reply at jboss.com
Fri Jan 25 12:40:23 EST 2008
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#4123611
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4123611
More information about the jboss-dev-forums
mailing list