From 7ae21709bb6dbdc092052acb5098bfa5cb316d9e Mon Sep 17 00:00:00 2001
From: kenneth_suter <kenneth_suter@localhost>
Date: Thu, 29 Mar 2007 15:09:14 +0000
Subject: [PATCH] These refactorings are essential in anticipation of a new quicksetup application for the upgrader feature (issue 598). These changes were reviewed by Josu.
---
opends/src/quicksetup/org/opends/quicksetup/QuickSetupException.java | 15 +++++++--------
1 files changed, 7 insertions(+), 8 deletions(-)
diff --git a/opends/src/quicksetup/org/opends/quicksetup/installer/InstallException.java b/opends/src/quicksetup/org/opends/quicksetup/QuickSetupException.java
similarity index 87%
rename from opends/src/quicksetup/org/opends/quicksetup/installer/InstallException.java
rename to opends/src/quicksetup/org/opends/quicksetup/QuickSetupException.java
index 772d9a9..49dc8fa 100644
--- a/opends/src/quicksetup/org/opends/quicksetup/installer/InstallException.java
+++ b/opends/src/quicksetup/org/opends/quicksetup/QuickSetupException.java
@@ -25,23 +25,20 @@
* Portions Copyright 2006-2007 Sun Microsystems, Inc.
*/
-package org.opends.quicksetup.installer;
+package org.opends.quicksetup;
/**
* This exception is used to encapsulate all the error that we might have
* during the installation.
- *
- * @see Installer, WebStartInstaller, OfflineInstaller.
- *
*/
-public class InstallException extends Exception
+public class QuickSetupException extends Exception
{
private static final long serialVersionUID = -3527273444231560341L;
private Type type;
/**
- * This enum contains the different type of InstallException that we can
+ * This enum contains the different type of QuickSetupException that we can
* have.
*
*/
@@ -81,12 +78,14 @@
};
/**
- * The constructor of the InstallException.
+ * The constructor of the QuickSetupException.
* @param type the type of error we have.
* @param localizedMsg a localized string describing the problem.
* @param rootCause the root cause of this exception.
*/
- public InstallException(Type type, String localizedMsg, Throwable rootCause)
+ public QuickSetupException(Type type,
+ String localizedMsg,
+ Throwable rootCause)
{
super(localizedMsg, rootCause);
this.type = type;
--
Gitblit v1.10.0