code: public long getNodeQuotaOrGroupOfNodesQuota(String repositoryName, String workspaceName, String nodePath)
        throws UnknownQuotaLimitException
     {
        try
        {
           return getNodeQuota(repositoryName, workspaceName, nodePath);
        }
        catch (UnknownQuotaLimitException e)
        {
           String patternPath = getAcceptableGroupOfNodesQuota(repositoryName, workspaceName, nodePath);
  
           if (patternPath != null)
           {
              return getGroupOfNodesQuota(repositoryName, workspaceName, patternPath);
           }
  
           throw new UnknownQuotaLimitException("Quota for " + nodePath + " is not defined");
        }
     }
docs: {@inheritDoc}