151152153154155156157158159160161
// Owner ID id); } else { // The repository does not exist, and we are // supposed to fail if it wasn't found. throw new RepositoryNotFoundException("Could not " + "find repository: " + id); } return repo; } });