public class ApplicationException extends OpenDsException
Installer,
Serialized Form| Constructor and Description |
|---|
ApplicationException(ReturnCode type,
org.forgerock.i18n.LocalizableMessage localizedMsg,
Throwable rootCause)
The constructor of the ApplicationException.
|
| Modifier and Type | Method and Description |
|---|---|
static ApplicationException |
createFileSystemException(org.forgerock.i18n.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, org.forgerock.i18n.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(org.forgerock.i18n.LocalizableMessage msg, Exception e)
msg - localized exception messagee - Exception causepublic ReturnCode getType()
Copyright © 2010-2020 Wren Security. All Rights Reserved.