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

Jean-Noël Rouvignac
28.49.2016 7e87daab4e499538f69fcc44009e6f0e19ec95d6
opendj-config/src/main/java/org/forgerock/opendj/config/server/ServerManagementContext.java
@@ -743,16 +743,15 @@
        } catch (ConfigException e) {
            debugLogger.trace("Unable to perform post add", e);
            LocalizableMessage message = ERR_ADMIN_CANNOT_GET_MANAGED_OBJECT.get(String.valueOf(dn),
                    stackTraceToSingleLineString(e, true));
            LocalizableMessage message = ERR_ADMIN_CANNOT_GET_MANAGED_OBJECT.get(
                    dn, stackTraceToSingleLineString(e, true));
            throw new ConfigException(message, e);
        }
        // The configuration handler is free to return null indicating
        // that the entry does not exist.
        if (configEntry == null) {
            LocalizableMessage message = ERR_ADMIN_MANAGED_OBJECT_DOES_NOT_EXIST.get(String.valueOf(dn));
            throw new ConfigException(message);
            throw new ConfigException(ERR_ADMIN_MANAGED_OBJECT_DOES_NOT_EXIST.get(dn));
        }
        return configEntry;