private void handleHTTPError(CloseableHttpResponse response) throws RemoteException {
        final StatusLine statusLine = response.getStatusLine();
        final int status = statusLine.getStatusCode();
        final String statusText = statusLine.getReasonPhrase();
        final String body = response.getEntity().toString();

        StringBuilder strBuf = new StringBuilder();
        strBuf.append("Crowd returned HTTP error code:").append(status);
        strBuf.append(" - ").append(statusText);
        if (StringUtils.isNotBlank(body)) {
            strBuf.append("\n").append(body);
        }
        
        throw new RemoteException(strBuf.toString());
    }
Get the members of the given group
@param groupName the name of the group
@return a List of String with the usernames members of the given group
@throws RemoteException if an exception occurred communicating with the crowd server
xmppserver/src/main/java/org/jivesoftware/openfire/crowd/CrowdManager.java