public class ApplicationException extends OpenDsException
Installer
,
Serialized FormConstructor 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() |
getMessageObject
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
public 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-2017 ForgeRock AS. All Rights Reserved.