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

jcambon
10.07.2008 93ad50f0e8b182978c790c0707bd0a910ae2a39e
opends/src/server/org/opends/server/tools/dsconfig/ArgumentExceptionFactory.java
@@ -604,6 +604,25 @@
  /**
   * Creates an argument exception which should be used when a multi-valued
   * property does not contain a given value.
   *
   * @param value
   *          The property value.
   * @param propertyName
   *          The property name.
   * @return Returns an argument exception.
   */
  public static ArgumentException unknownValueForMultiValuedProperty(
    String value, String propertyName) {
          Message msg = ERR_DSCFG_ERROR_VALUE_DOES_NOT_EXIST.get(
            value, propertyName);
    return new ArgumentException(msg);
  }
  /**
   * Creates a CLI exception which should be used when a managed
   * object is retrieved but does not have the correct type
   * appropriate for the associated sub-command.