From 6df6635f1250c399a2f39d87d0534301ce4c22d7 Mon Sep 17 00:00:00 2001
From: kenneth_suter <kenneth_suter@localhost>
Date: Fri, 31 Aug 2007 15:43:58 +0000
Subject: [PATCH] Exposes the reversion functionality of the upgrader (issue 2169). Originally it was intended to be exposed as a new script but in order to avoid the negativity of having a command devoted to undoing the upgrade and to avoid more scripts in the top-level directory, I've exposed the functionality as 2 new options in the existing upgrade script. I will update the Wiki with documentation for these new options soon.
---
opends/src/quicksetup/org/opends/quicksetup/util/ServerController.java | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/opends/src/quicksetup/org/opends/quicksetup/util/ServerController.java b/opends/src/quicksetup/org/opends/quicksetup/util/ServerController.java
index 1c80095..820a906 100644
--- a/opends/src/quicksetup/org/opends/quicksetup/util/ServerController.java
+++ b/opends/src/quicksetup/org/opends/quicksetup/util/ServerController.java
@@ -209,7 +209,7 @@
* not be stopped.
*/
throw new ApplicationException(
- ApplicationReturnCode.ReturnCode.STOP_ERROR,
+ ReturnCode.STOP_ERROR,
INFO_ERROR_STOPPING_SERVER_CODE.get(
String.valueOf(returnValue)),
null);
@@ -223,7 +223,7 @@
} catch (Exception e) {
throw new ApplicationException(
- ApplicationReturnCode.ReturnCode.STOP_ERROR, getThrowableMsg(
+ ReturnCode.STOP_ERROR, getThrowableMsg(
INFO_ERROR_STOPPING_SERVER.get(), e), e);
}
} finally {
@@ -442,7 +442,7 @@
if (Utils.isWindows())
{
throw new ApplicationException(
- ApplicationReturnCode.ReturnCode.START_ERROR,
+ ReturnCode.START_ERROR,
INFO_ERROR_STARTING_SERVER_IN_WINDOWS.get(
String.valueOf(port)),
null);
@@ -450,7 +450,7 @@
else
{
throw new ApplicationException(
- ApplicationReturnCode.ReturnCode.START_ERROR,
+ ReturnCode.START_ERROR,
INFO_ERROR_STARTING_SERVER_IN_UNIX.get(
String.valueOf(port)),
null);
@@ -461,7 +461,7 @@
} catch (IOException ioe)
{
throw new ApplicationException(
- ApplicationReturnCode.ReturnCode.START_ERROR,
+ ReturnCode.START_ERROR,
getThrowableMsg(INFO_ERROR_STARTING_SERVER.get(), ioe), ioe);
}
} finally {
@@ -625,7 +625,7 @@
} catch (Throwable t)
{
ex = new ApplicationException(
- ApplicationReturnCode.ReturnCode.START_ERROR,
+ ReturnCode.START_ERROR,
getThrowableMsg(errorTag, t), t);
}
--
Gitblit v1.10.0