@Override
    public SearchResult getUsersForGroup(String groupSecurityName,
                                         int limit) throws NotImplementedException, EntryNotFoundException, CustomRegistryException, RemoteException, RegistryException {
        for (UserRegistry registry : delegates) {
            try {
                return registry.getUsersForGroup(groupSecurityName, limit);
            } catch (NotImplementedException nie) {
                if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) {
                    Tr.debug(tc, "NotImplementedException caught on getUsersForGroup", registry, groupSecurityName, limit);
                }
                throw new NotImplementedException("getUsersForGroup not implemented");

            } catch (EntryNotFoundException enf) {
                // We ignore this and keep trying. If we can't find we'll throw below
                if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) {
                    Tr.debug(tc, "EntryNotFoundException caught on getUsersForGroup", registry, groupSecurityName, limit);
                }

            } catch (CustomRegistryException re) {
                // We ignore this and keep trying. If we can't find we'll throw below
                if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) {
                    Tr.debug(tc, "CustomRegistryException caught on getUsersForGroup", registry, groupSecurityName, limit);
                }
            }
            throw new EntryNotFoundException(groupSecurityName + " does not exist.");
        }

        return null;

    }
@ Override public SearchResult getUsersForGroup ( String groupSecurityName , int limit ) throws NotImplementedException , EntryNotFoundException , CustomRegistryException , RemoteException , RegistryException { for ( UserRegistry registry : delegates ) { try { return registry . getUsersForGroup ( groupSecurityName , limit ) ; } catch ( NotImplementedException nie ) { if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isDebugEnabled ( ) ) { Tr . debug ( tc , "NotImplementedException caught on getUsersForGroup" , registry , groupSecurityName , limit ) ; } throw new NotImplementedException ( "getUsersForGroup not implemented" ) ; } catch ( EntryNotFoundException enf ) { if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isDebugEnabled ( ) ) { Tr . debug ( tc , "EntryNotFoundException caught on getUsersForGroup" , registry , groupSecurityName , limit ) ; } } catch ( CustomRegistryException re ) { if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isDebugEnabled ( ) ) { Tr . debug ( tc , "CustomRegistryException caught on getUsersForGroup" , registry , groupSecurityName , limit ) ; } } throw new EntryNotFoundException ( groupSecurityName + " does not exist." ) ; } return null ; }
(@inheritedDoc)

@throws RegistryException