if (isSupportedKey(parent) == false)
{
throw new ResourceKeyCreationException();
}
final RepositoryResourceBundleLoader o = (RepositoryResourceBundleLoader)
parent.getFactoryParameters().get(new FactoryParameterKey("repository-loader"));
if ("true".equals(LibDocBundleBoot.getInstance().getGlobalConfig().getConfigProperty
("org.pentaho.reporting.libraries.docbundle.bundleloader.memory.StrictKeyCheck", "true")))
{
try
{
final Repository repository = (Repository) parent.getFactoryParameters().get(new FactoryParameterKey("repository"));
if (RepositoryUtilities.isExistsEntity(repository, RepositoryUtilities.split(path, "/")) == false)
{
throw new ResourceKeyCreationException("The key does not exist: " + path);
}
}