From d10da5e09878c255bd3b685fa87a04610db7d404 Mon Sep 17 00:00:00 2001
From: Jean-Noël Rouvignac <jean-noel.rouvignac@forgerock.com>
Date: Mon, 04 Apr 2016 13:38:34 +0000
Subject: [PATCH] Fix compilation errors

---
 opendj-server-legacy/src/main/java/org/opends/guitools/controlpanel/datamodel/ServerDescriptor.java |    7 +++----
 1 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/opendj-server-legacy/src/main/java/org/opends/guitools/controlpanel/datamodel/ServerDescriptor.java b/opendj-server-legacy/src/main/java/org/opends/guitools/controlpanel/datamodel/ServerDescriptor.java
index ced5354..c818e51 100644
--- a/opendj-server-legacy/src/main/java/org/opends/guitools/controlpanel/datamodel/ServerDescriptor.java
+++ b/opendj-server-legacy/src/main/java/org/opends/guitools/controlpanel/datamodel/ServerDescriptor.java
@@ -34,7 +34,6 @@
 import org.forgerock.opendj.ldap.schema.AttributeType;
 import org.forgerock.opendj.ldap.DN;
 import org.opends.server.types.ObjectClass;
-import org.opends.server.types.OpenDsException;
 import org.opends.server.types.Schema;
 
 import com.forgerock.opendj.util.OperatingSystem;
@@ -61,7 +60,7 @@
   private String instancePath;
   private String openDSVersion;
   private String javaVersion;
-  private ArrayList<OpenDsException> exceptions = new ArrayList<>();
+  private ArrayList<Exception> exceptions = new ArrayList<>();
   private boolean isWindowsServiceEnabled;
   private boolean isSchemaEnabled;
   private Schema schema;
@@ -467,7 +466,7 @@
    * Returns the exceptions that occurred while reading the configuration.
    * @return the exceptions that occurred while reading the configuration.
    */
-  public List<OpenDsException> getExceptions()
+  public List<Exception> getExceptions()
   {
     return Collections.unmodifiableList(exceptions);
   }
@@ -477,7 +476,7 @@
    * @param exceptions exceptions that occurred while reading the
    * configuration.
    */
-  public void setExceptions(Collection<OpenDsException> exceptions)
+  public void setExceptions(Collection<Exception> exceptions)
   {
     this.exceptions.clear();
     this.exceptions.addAll(exceptions);

--
Gitblit v1.10.0