public class ApplicationException extends OpenDsException
Installer,
WebStartInstaller,
OfflineInstaller,
Serialized Form| Constructor and Description |
|---|
ApplicationException(ReturnCode type,
LocalizableMessage localizedMsg,
Throwable rootCause)
The constructor of the ApplicationException.
|
| Modifier and Type | Method and Description |
|---|---|
static ApplicationException |
createFileSystemException(LocalizableMessage msg,
Exception e)
Creates a new ApplicationException of type FILE_SYSTEM_ERROR.
|
ReturnCode |
getType()
Returns the Type of this exception.
|
String |
toString() |
getMessageObjectaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTracepublic ApplicationException(ReturnCode type, LocalizableMessage localizedMsg, Throwable rootCause)
type - the type of error we have.localizedMsg - a localized string describing the problem.rootCause - the root cause of this exception.public static ApplicationException createFileSystemException(LocalizableMessage msg, Exception e)
msg - localized exception messagee - Exception causepublic ReturnCode getType()
Copyright © 2010-2015 ForgeRock AS. All Rights Reserved.