users@jaxb.java.net

Question on ObjectFactory constructor

From: Wiedmann, Jochen <jochen.wiedmann_at_softwareag.com>
Date: Sat, 08 Feb 2003 02:52:00 +0100

Hi,

the specification says, that the ObjectFactory has a public
constructor with no arguments. It doesn't say whether the
constructor may throw an Exception or not.

IMO it makes quite some sense that the public constructor
calls JAXBContext.newInstance("my.package.name") internally.
Thus I would like to let the constructor throw a JAXBException.
Is that okay?


Regards,

Jochen