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

Matthew Swift
18.55.2014 d46701cdbecec6f6c10f57432f3e6a484752f42c
opendj3-server-dev/src/server/org/opends/server/admin/IPAddressMaskPropertyDefinition.java
@@ -110,7 +110,7 @@
   */
  @Override
  public void validateValue(AddressMask value)
      throws IllegalPropertyValueException {
      throws PropertyException {
    ifNull(value);
    // No additional validation required.
@@ -123,14 +123,14 @@
   */
  @Override
  public AddressMask decodeValue(String value)
      throws IllegalPropertyValueStringException {
      throws PropertyException {
    ifNull(value);
    try {
      return AddressMask.decode(value);
    } catch (ConfigException e) {
      // TODO: it would be nice to throw the cause.
      throw new IllegalPropertyValueStringException(this, value);
      throw PropertyException.illegalPropertyValueException(this, value);
    }
  }