public Set<DistributedMember> getMembersIncludingLocators(String[] groups, String[] members) {
    Set<DistributedMember> matchingMembers = findMembersIncludingLocators(groups, members);
    if (matchingMembers.size() == 0) {
      throw new EntityNotFoundException(CliStrings.NO_MEMBERS_FOUND_MESSAGE);
    }
    return matchingMembers;
  }
if no members matches these names, a UserErrorException will be thrown

@param groups names of groups to which returned members belong
@param members member names or IDs which returned members match
@return a set of matching members
geode-gfsh/src/main/java/org/apache/geode/management/cli/GfshCommand.java