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

matthew_swift
03.36.2007 de19fe2956d5a4b3817834191c51989664f8c47c
opends/src/server/org/opends/server/admin/UnknownPropertyDefinitionException.java
@@ -29,10 +29,14 @@
import static org.opends.messages.AdminMessages.*;
/**
 * Indicates that an unknown type of property definition was encountered. This
 * can occur as the management prototype develops and new kinds of property
 * definitions are added.
 * Indicates that an unknown type of property definition was
 * encountered. This can occur as the management prototype develops
 * and new kinds of property definitions are added.
 */
public final class UnknownPropertyDefinitionException
    extends PropertyException {
@@ -48,13 +52,15 @@
  /**
   * Creates a new unknown property definition exception.
   *
   * @param d
   * @param pd
   *          The unknown property definition.
   * @param p
   *          The visitor parameter if there was one.
   */
  public UnknownPropertyDefinitionException(PropertyDefinition<?> d, Object p) {
    super(d);
  public UnknownPropertyDefinitionException(PropertyDefinition<?> pd,
      Object p) {
    super(pd, ERR_UNKNOWN_PROPERTY_DEFINITION_EXCEPTION.get(pd.getName(), pd
        .getClass().getName()));
    this.parameter = p;
  }
@@ -69,14 +75,4 @@
    return parameter;
  }
  /**
   * {@inheritDoc}
   */
  @Override
  public String getMessage() {
    return "Unhandled property definition type encountered \""
        + getPropertyDefinition().getClass().getName() + "\"";
  }
}