private static void createParentDomains(DirContext ctxt, String parts[], String dns[]) throws NamingException, ServiceException {
private static void createParentDomains(DirContext ctxt, String parts[], String dns[]) throws NamingException {
    private static void createParentDomains(DirContext ctxt, String parts[], String dns[]) throws NamingException, ServiceException {        for (int i=dns.length-1; i > 0; i--) {                    if (!domainDnExists(ctxt, dns[i])) {                String dn = dns[i];                String domain = parts[i];                // don't create ZimbraDomain objects, since we don't want them to show up in list domains                LdapUtil.simpleCreate(ctxt, dn, new String[] {"dcObject", "organization"},                         new String[] { A_o, domain+" domain", A_dc, domain });            }        }    }