return mcf.getRepository().getDescriptor(key);
} catch (RepositoryException e) {
log("Failed to access the repository", e);
ResourceException exception = new ResourceException(
"Failed to access the repository: " + e.getMessage());
exception.initCause(e);
throw exception;
}
}
/**