From 8a0c7b4a24af390782c917be4f68b45174972b19 Mon Sep 17 00:00:00 2001
From: Violette Roche-Montane <violette.roche-montane@forgerock.com>
Date: Mon, 24 Mar 2014 09:50:32 +0000
Subject: [PATCH] Checkpoint OPENDJ-1343 Migrate dsconfig - Code cleanup on the StatusCli and UnistallCliHelper as they are linked to the LDAPManagementContextFactory.java which is in the dsconfig package.
---
opendj3-server-dev/src/quicksetup/org/opends/quicksetup/CliApplication.java | 18 +++++++++++++-----
1 files changed, 13 insertions(+), 5 deletions(-)
diff --git a/opendj3-server-dev/src/quicksetup/org/opends/quicksetup/CliApplication.java b/opendj3-server-dev/src/quicksetup/org/opends/quicksetup/CliApplication.java
index 856512b..14f2913 100644
--- a/opendj3-server-dev/src/quicksetup/org/opends/quicksetup/CliApplication.java
+++ b/opendj3-server-dev/src/quicksetup/org/opends/quicksetup/CliApplication.java
@@ -22,6 +22,7 @@
*
*
* Copyright 2008 Sun Microsystems, Inc.
+ * Portions Copyright 2014 ForgeRock AS
*/
package org.opends.quicksetup;
@@ -29,6 +30,8 @@
import org.opends.quicksetup.event.ProgressNotifier;
import org.opends.quicksetup.util.ProgressMessageFormatter;
+import com.forgerock.opendj.cli.ClientException;
+
/**
* Represents a quick setup CLI application.
*/
@@ -37,14 +40,19 @@
/**
* Creates a set of user data from command line arguments and installation
* status.
- * @param launcher that launched this application
+ *
+ * @param launcher
+ * that launched this application
* @return UserData object populated to reflect the input args and status
- * @throws UserDataException if something is wrong with the data provided
- * by the user
- * @throws ApplicationException if there is an application specific problem
+ * @throws UserDataException
+ * if something is wrong with the data provided by the user
+ * @throws ApplicationException
+ * if there is an application specific problem
+ * @throws ClientException
+ * If an error occurs when creating the data.
*/
UserData createUserData(Launcher launcher)
- throws UserDataException, ApplicationException;
+ throws UserDataException, ApplicationException, ClientException;
/**
* Gets the user data this application will use when running.
--
Gitblit v1.10.0