mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

matthew_swift
06.44.2007 08fa1ef1dc14705c3348dae159cf4c72f445d979
opendj-sdk/opends/src/server/org/opends/server/admin/client/ldap/LDAPManagedObject.java
@@ -1058,7 +1058,7 @@
  // Remove the named managed object.
  private void removeManagedObject(ManagedObjectPath p)
      throws CommunicationException, AuthorizationException,
      OperationRejectedException {
      OperationRejectedException, ManagedObjectNotFoundException {
    LdapName dn = LDAPNameBuilder.create(p, context.getLDAPProfile());
    if (entryExists(dn)) {
      // Delete the entry and any subordinate entries.
@@ -1070,6 +1070,8 @@
      } catch (NamingException e) {
        adaptNamingException(e);
      }
    } else {
      throw new ManagedObjectNotFoundException();
    }
  }