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

Matthew Swift
18.58.2014 a94c41b1759c23f849376a5f5448bc6e819f1c11
opendj-config/src/main/java/org/forgerock/opendj/config/StringPropertyDefinition.java
@@ -175,8 +175,8 @@
        try {
            validateValue(value, options);
        } catch (IllegalPropertyValueException e) {
            throw new IllegalPropertyValueStringException(this, value);
        } catch (PropertyException e) {
            throw PropertyException.illegalPropertyValueException(this, value);
        }
        return value;
@@ -275,7 +275,7 @@
        if (pattern != null) {
            Matcher matcher = pattern.matcher(value);
            if (!matcher.matches()) {
                throw new IllegalPropertyValueException(this, value);
                throw PropertyException.illegalPropertyValueException(this, value);
            }
        }
    }