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

Nicolas Capponi
21.17.2016 58df6f18fee34844ed7a92a84379e3ec2bebed6d
opendj-server-legacy/src/main/java/org/opends/server/backends/MonitorBackend.java
@@ -142,7 +142,7 @@
      ccr.addMessage(ERR_CONFIG_BACKEND_ERROR_INTERACTING_WITH_BACKEND_ENTRY.get(
          configEntryDN, stackTraceToSingleLineString(e)));
      ccr.setResultCode(DirectoryServer.getServerErrorResultCode());
      ccr.setResultCode(DirectoryServer.getCoreConfigManager().getServerErrorResultCode());
    }
    userDefinedAttributes = userAttrs;
@@ -252,7 +252,7 @@
      {
        logger.traceException(e);
        final LocalizableMessage message = ERR_MONITOR_UNABLE_TO_EXPORT_BASE.get(stackTraceToSingleLineString(e));
        throw new DirectoryException(DirectoryServer.getServerErrorResultCode(), message);
        throw new DirectoryException(DirectoryServer.getCoreConfigManager().getServerErrorResultCode(), message);
      }
      // Get all the monitor providers, convert them to entries, and write them to LDIF.
@@ -268,7 +268,7 @@
          final LocalizableMessage message =
              ERR_MONITOR_UNABLE_TO_EXPORT_PROVIDER_ENTRY.get(monitorProvider.getMonitorInstanceName(),
                  stackTraceToSingleLineString(e));
          throw new DirectoryException(DirectoryServer.getServerErrorResultCode(), message);
          throw new DirectoryException(DirectoryServer.getCoreConfigManager().getServerErrorResultCode(), message);
        }
      }
    }
@@ -289,7 +289,7 @@
      logger.traceException(e);
      final LocalizableMessage message = ERR_ROOTDSE_UNABLE_TO_CREATE_LDIF_WRITER.get(stackTraceToSingleLineString(e));
      throw new DirectoryException(DirectoryServer.getServerErrorResultCode(), message);
      throw new DirectoryException(DirectoryServer.getCoreConfigManager().getServerErrorResultCode(), message);
    }
  }
@@ -319,7 +319,7 @@
    // If the requested entry was null, then throw an exception.
    if (entryDN == null)
    {
      throw new DirectoryException(DirectoryServer.getServerErrorResultCode(),
      throw new DirectoryException(DirectoryServer.getCoreConfigManager().getServerErrorResultCode(),
          ERR_BACKEND_GET_ENTRY_NULL.get(getBackendID()));
    }