From ad74bf0a2cc09d0036a12793848b975e7b16eaa6 Mon Sep 17 00:00:00 2001
From: lutoff <lutoff@localhost>
Date: Fri, 27 Jul 2007 15:26:22 +0000
Subject: [PATCH] modifications to fix issue #2022.
---
opends/src/quicksetup/org/opends/quicksetup/BuildInformation.java | 10 ++++++----
1 files changed, 6 insertions(+), 4 deletions(-)
diff --git a/opends/src/quicksetup/org/opends/quicksetup/BuildInformation.java b/opends/src/quicksetup/org/opends/quicksetup/BuildInformation.java
index ec3738c..8a819cf 100644
--- a/opends/src/quicksetup/org/opends/quicksetup/BuildInformation.java
+++ b/opends/src/quicksetup/org/opends/quicksetup/BuildInformation.java
@@ -107,8 +107,9 @@
}
}
} catch (IOException e) {
- throw new ApplicationException(ApplicationException.Type.START_ERROR,
- getMsg("error-creating-build-info"), e);
+ throw new ApplicationException(
+ ApplicationReturnCode.ReturnCode.START_ERROR,
+ getMsg("error-creating-build-info"), e);
} finally {
if (is != null) {
try {
@@ -381,8 +382,9 @@
throws ApplicationException {
for (String prop : props) {
if (null == values.get(prop)) {
- throw new ApplicationException(ApplicationException.Type.TOOL_ERROR,
- getMsg("error-prop-value", prop), null);
+ throw new ApplicationException(
+ ApplicationReturnCode.ReturnCode.TOOL_ERROR, getMsg(
+ "error-prop-value", prop), null);
}
}
--
Gitblit v1.10.0