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

ludovicp
31.11.2010 bb7922caed39fdea1c518515adeb12ad6c9be66f
opendj-sdk/opends/src/server/org/opends/server/tools/dsconfig/ArgumentExceptionFactory.java
@@ -22,7 +22,7 @@
 * CDDL HEADER END
 *
 *
 *      Copyright 2008 Sun Microsystems, Inc.
 *      Copyright 2008-2010 Sun Microsystems, Inc.
 */
package org.opends.server.tools.dsconfig;
@@ -497,6 +497,26 @@
  /**
   * Creates an argument exception which should be used when an
   * attempt is made to reset a property with a value.
   *
   * @param name
   *          The name of the mandatory property.
   * @param resetOption
   *          The name of the option which should be used to reset the
   *          property's values.
   * @return Returns an argument exception.
   */
  public static ArgumentException unableToResetPropertyWithValue(String name,
     String resetOption) {
    Message message = ERR_DSCFG_ERROR_UNABLE_TO_RESET_PROPERTY_WITH_VALUE.get(
            resetOption, name, resetOption);
    return new ArgumentException(message);
  }
  /**
   * Creates an argument exception which should be used when an
   * attempt is made to set the naming property for a managed object
   * during creation.
   *