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

Jean-Noel Rouvignac
18.18.2015 2f6d798e90520dd1b83ac30e53838ae6fd41a150
opendj-server-legacy/src/main/java/org/opends/server/admin/ClassPropertyDefinition.java
@@ -353,12 +353,9 @@
      String classToBeLoaded, boolean initialize) {
    try {
      return loadClass(classToBeLoaded.trim(), initialize);
    } catch (ClassNotFoundException e) {
    } catch (ClassNotFoundException | LinkageError e) {
      // If the class cannot be loaded then it is an invalid value.
      throw illegalPropertyValueException(this, componentClassName, e);
    } catch (LinkageError e) {
      // If the class cannot be initialized then it is an invalid value.
      throw illegalPropertyValueException(this, componentClassName, e);
    }
  }