BehaviorConfig bcfg = new BehaviorConfigWrapper(cfg,this.behaviorId);
return constructor.newInstance(new Object[] { bcfg });
}
catch (InvocationTargetException e)
{
throw new FaceletException(e.getCause().getMessage(), e.getCause().getCause());
}
catch (Exception e)
{
throw new FaceletException("Error Instantiating BehaviorHandler: " + this.type.getName(), e);
}
}