public virtual string GetConfigXml(string component)
{
if (component == null)
{
throw new ArgumentNullException("component", "Component cannot be null.");
}
try
{
return _outerXmlByComponent[component];
}
catch(Exception ex)
{
ReThrowException("Error while getting config XML for component.",
new object[] { ConfigFile, component }, ex);
// that throws, but the compiler wants a return statement.
return null;
}
}