try
{
model = resourceSet.createResource(EMFRepositoryFacadeUtils.createUri(uri));
if (model == null)
{
throw new RepositoryFacadeException("'" + uri + "' is an invalid model");
}
model.load(this.getLoadOptions());
EcoreUtil.resolveAll(model);
}
catch (final Exception exception)
{
throw new RepositoryFacadeException(exception);
}
}