Package org.opends.quicksetup
Class ApplicationException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.opends.server.types.OpenDsException
-
- org.opends.quicksetup.ApplicationException
-
- All Implemented Interfaces:
Serializable,org.forgerock.i18n.LocalizableException
public class ApplicationException extends OpenDsException
This exception is used to encapsulate all the error that we might have during the installation.- See Also:
Installer, Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ApplicationException(ReturnCode type, org.forgerock.i18n.LocalizableMessage localizedMsg, Throwable rootCause)The constructor of the ApplicationException.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ApplicationExceptioncreateFileSystemException(org.forgerock.i18n.LocalizableMessage msg, Exception e)Creates a new ApplicationException of type FILE_SYSTEM_ERROR.ReturnCodegetType()Returns the Type of this exception.StringtoString()-
Methods inherited from class org.opends.server.types.OpenDsException
getMessageObject
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
-
-
-
Constructor Detail
-
ApplicationException
public ApplicationException(ReturnCode type, org.forgerock.i18n.LocalizableMessage localizedMsg, Throwable rootCause)
The constructor of the ApplicationException.- Parameters:
type- the type of error we have.localizedMsg- a localized string describing the problem.rootCause- the root cause of this exception.
-
-
Method Detail
-
createFileSystemException
public static ApplicationException createFileSystemException(org.forgerock.i18n.LocalizableMessage msg, Exception e)
Creates a new ApplicationException of type FILE_SYSTEM_ERROR.- Parameters:
msg- localized exception messagee- Exception cause- Returns:
- ApplicationException with Type property being FILE_SYSTEM_ERROR
-
getType
public ReturnCode getType()
Returns the Type of this exception.- Returns:
- the Type of this exception.
-
-