throw new JAXBWrapperException(t);
}
// Now set each object onto the jaxb object
for (String childName : childNames) {
PropertyDescriptorPlus propInfo = pdMap.get(childName);
Object value = childObjects.get(childName);
Class dclClass = declaredClassMap.get(childName);
if (propInfo == null) {
throw new JAXBWrapperException(Messages.getMessage("JAXBWrapperErr6",
jaxbClass.getName(),
childName));
}
try {
propInfo.set(jaxbObject, value, dclClass);
} catch (Throwable t) {
if (log.isDebugEnabled()) {
log.debug("An exception " + t.getClass() +
"occurred while trying to call set() on " + propInfo);