*/
public IPojoFactory build(BundleContext bundleContext, Element metadata) throws FactoryBuilderException {
try {
return m_constructor.newInstance(bundleContext, metadata);
} catch (InstantiationException e) {
throw new FactoryBuilderException("Cannot create instance of " + m_constructor.getDeclaringClass(), e);
} catch (IllegalAccessException e) {
throw new FactoryBuilderException(m_constructor.getDeclaringClass() + " constructor is not " +
"accessible (not public)", e);
} catch (InvocationTargetException e) {
throw new FactoryBuilderException("Cannot create instance of " + m_constructor.getDeclaringClass(), e);
}
}