| File was renamed from opends/src/quicksetup/org/opends/quicksetup/installer/InstallException.java |
| | |
| | | * 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. |
| | | * |
| | | */ |
| | |
| | | }; |
| | | |
| | | /** |
| | | * 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; |