From 7eb8825838df7d565a17c1b07c1f0ed1c2f25647 Mon Sep 17 00:00:00 2001
From: jvergara <jvergara@localhost>
Date: Fri, 02 May 2008 10:59:15 +0000
Subject: [PATCH] Fix for issue 3221 (uninstall returns 0 but fails when LDAP connection is rejected) There was a bug in the manner the option forceOnError. Appart from that there were some issues due to the fact that most of the methods in UninstallCliHelper do not throw exceptions. I have updated some interfaces and now the behavior is the following:
---
opendj-sdk/opends/src/quicksetup/org/opends/quicksetup/CliApplication.java | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/opendj-sdk/opends/src/quicksetup/org/opends/quicksetup/CliApplication.java b/opendj-sdk/opends/src/quicksetup/org/opends/quicksetup/CliApplication.java
index 6f218ca..4c7f72a 100644
--- a/opendj-sdk/opends/src/quicksetup/org/opends/quicksetup/CliApplication.java
+++ b/opendj-sdk/opends/src/quicksetup/org/opends/quicksetup/CliApplication.java
@@ -40,10 +40,12 @@
* status.
* @param launcher that launched this application
* @return UserData object populated to reflect the input args and status
- * @throws UserDataException if something is wrong
+ * @throws UserDataException if something is wrong with the data provided
+ * by the user
+ * @throws ApplicationException if there is an application specific problem
*/
UserData createUserData(Launcher launcher)
- throws UserDataException;
+ throws UserDataException, ApplicationException;
/**
* Gets the user data this application will use when running.
--
Gitblit v1.10.0