ComponentConfig ccfg = new ComponentConfigWrapper(cfg, componentType, renderType);
return constructor.newInstance(new Object[] { ccfg });
}
catch (InvocationTargetException e)
{
throw new FaceletException(e.getCause().getMessage(), e.getCause().getCause());
}
catch (Exception e)
{
throw new FaceletException("Error Instantiating ComponentHandler: " + this.type.getName(), e);
}
}