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

Nicolas Capponi
24.43.2014 81d36161ce5367fa7aa9a5d99dc8b80eacfa7cdf
opendj3-server-dev/src/server/org/opends/server/admin/DefinitionDecodingException.java
@@ -22,6 +22,7 @@
 *
 *
 *      Copyright 2008 Sun Microsystems, Inc.
 *      Portions Copyright 2014 ForgeRock AS
 */
package org.opends.server.admin;
@@ -30,7 +31,7 @@
import static org.opends.messages.AdminMessages.*;
import org.opends.messages.Message;
import org.forgerock.i18n.LocalizableMessage;
@@ -74,9 +75,9 @@
  // Create the message.
  private static Message createMessage(AbstractManagedObjectDefinition<?, ?> d,
  private static LocalizableMessage createMessage(AbstractManagedObjectDefinition<?, ?> d,
      Reason reason) {
    Message ufn = d.getUserFriendlyName();
    LocalizableMessage ufn = d.getUserFriendlyName();
    switch (reason) {
    case NO_TYPE_INFORMATION:
      return ERR_DECODING_EXCEPTION_NO_TYPE_INFO.get(ufn);