omClass = Class.forName(omClassName);
omClasses.put(CmsOmName, omClass);
}
catch(Exception e)
{
throw new JetspeedCMSException(
"CmsFactory: Failed to create a Cms object for : " + e.toString());
}
}
try
{
cmsObject = (CmsObject) omClass.newInstance();
}
catch(Exception e)
{
throw new JetspeedCMSException("Failed to instantiate an Cms implementation object: " + e.toString());
}
return cmsObject;
}