code: private Cache getScopeCache(String scope) throws InvalidScopeException {
          Cache scopeCache = scopeManager.getCache(scope);
          if (scopeCache == null) {
              throw new InvalidScopeException("The scope " + scope + " doesn't exist");
          } else {
              return scopeCache;
          }
      }
docs: Returns the {@link Cache} object associated with the given scope.
  
  @throws InvalidScopeException if the specified scope isn't a registered one