@Override
    public Group getGroup(String name) throws GroupNotFoundException
    {
        final GroupProvider groupProvider;
        try {
            groupProvider = getGroupProvider(name);
        } catch (RuntimeException e){
            throw new GroupNotFoundException("Unable to identify group provider for group name " + name, e);
        }
        return groupProvider.getGroup(name);
    }
Loads a group from the first provider that contains the group.

@param name the name of the group (cannot be null or empty).
@return The group (never null).
@throws GroupNotFoundException When none of the providers contains the group.
xmppserver/src/main/java/org/jivesoftware/openfire/group/GroupMultiProvider.java