From 64e9f97a338b5a975465129829fb85610e1a8132 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.
---
opendj-sdk/opends/src/quicksetup/org/opends/quicksetup/util/InProcessServerController.java | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/opendj-sdk/opends/src/quicksetup/org/opends/quicksetup/util/InProcessServerController.java b/opendj-sdk/opends/src/quicksetup/org/opends/quicksetup/util/InProcessServerController.java
index eb6dd0c..8ccbf70 100644
--- a/opendj-sdk/opends/src/quicksetup/org/opends/quicksetup/util/InProcessServerController.java
+++ b/opendj-sdk/opends/src/quicksetup/org/opends/quicksetup/util/InProcessServerController.java
@@ -401,7 +401,7 @@
// report the error to the user
StringBuilder error = op.getErrorMessage();
throw new ApplicationException(
- ApplicationException.Type.IMPORT_ERROR,
+ ApplicationReturnCode.ReturnCode.IMPORT_ERROR,
getMsg("error-apply-ldif-modify", dnByteString.toString(),
error != null ? error.toString() : ""),
null);
@@ -424,7 +424,7 @@
// report the error to the user
StringBuilder error = addOp.getErrorMessage();
throw new ApplicationException(
- ApplicationException.Type.IMPORT_ERROR,
+ ApplicationReturnCode.ReturnCode.IMPORT_ERROR,
getMsg("error-apply-ldif-add", dnByteString.toString(),
error != null ? error.toString() : ""),
null);
@@ -441,7 +441,7 @@
// report the error to the user
StringBuilder error = delOp.getErrorMessage();
throw new ApplicationException(
- ApplicationException.Type.IMPORT_ERROR,
+ ApplicationReturnCode.ReturnCode.IMPORT_ERROR,
getMsg("error-apply-ldif-delete", dnByteString.toString(),
error != null ? error.toString() : ""),
null);
@@ -449,7 +449,7 @@
break;
default:
LOG.log(Level.SEVERE, "Unexpected record type " + cre.getClass());
- throw new ApplicationException(ApplicationException.Type.BUG,
+ throw new ApplicationException(ApplicationReturnCode.ReturnCode.BUG,
getMsg("bug-msg"),
null);
}
--
Gitblit v1.10.0