From ee8d249f2d1f0c6d45faa9edaa34c1f8cd155ddc Mon Sep 17 00:00:00 2001
From: jvergara <jvergara@localhost>
Date: Thu, 11 Jun 2009 10:05:51 +0000
Subject: [PATCH] Use the correct exception when an error occurs.

---
 opends/src/guitools/org/opends/guitools/controlpanel/ui/SimplifiedViewEntryPanel.java |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/opends/src/guitools/org/opends/guitools/controlpanel/ui/SimplifiedViewEntryPanel.java b/opends/src/guitools/org/opends/guitools/controlpanel/ui/SimplifiedViewEntryPanel.java
index e27537c..4fee235 100644
--- a/opends/src/guitools/org/opends/guitools/controlpanel/ui/SimplifiedViewEntryPanel.java
+++ b/opends/src/guitools/org/opends/guitools/controlpanel/ui/SimplifiedViewEntryPanel.java
@@ -81,7 +81,7 @@
 import org.opends.guitools.controlpanel.datamodel.CustomSearchResult;
 import org.opends.guitools.controlpanel.datamodel.ObjectClassValue;
 import org.opends.guitools.controlpanel.event.ScrollPaneBorderListener;
-import org.opends.guitools.controlpanel.task.OfflineUpdateException;
+import org.opends.guitools.controlpanel.task.OnlineUpdateException;
 import org.opends.guitools.controlpanel.ui.components.BinaryCellPanel;
 import org.opends.guitools.controlpanel.ui.components.ObjectClassCellPanel;
 import org.opends.guitools.controlpanel.ui.nodes.BrowserNodeInfo;
@@ -1368,7 +1368,7 @@
     }
     catch (IOException ioe)
     {
-      throw new OfflineUpdateException(
+      throw new OnlineUpdateException(
           ERR_CTRL_PANEL_ERROR_CHECKING_ENTRY.get(ioe.toString()),
           ioe);
     }

--
Gitblit v1.10.0