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

Matthew Swift
02.11.2013 7d09dc3ceefdc6b30cfa9dfed6d094e1eb6328f8
opendj-admin/src/main/java/org/opends/server/admin/IllegalPropertyValueException.java
@@ -23,6 +23,7 @@
 *
 *
 *      Copyright 2008 Sun Microsystems, Inc.
 *      Portions copyright 2013 ForgeRock AS.
 */
package org.opends.server.admin;
@@ -59,6 +60,21 @@
    }
    /**
     * Create a new illegal property value exception.
     *
     * @param pd
     *            The property definition.
     * @param value
     *            The illegal property value.
     * @param cause
     *            The cause.
     */
    public IllegalPropertyValueException(PropertyDefinition<?> pd, Object value, Throwable cause) {
        super(pd, createMessage(pd, value), cause);
        this.value = value;
    }
    /**
     * Get the illegal property value that caused the exception.
     *
     * @return Returns the illegal property value.