public class LocalizedHttpApplicationException extends org.forgerock.http.HttpApplicationException implements LocalizableException
HttpApplication
was unable to start. A
LocalizedHttpApplicationException
contains a localized error message which may be used to provide the user
with detailed diagnosis information. The localized message can be retrieved using the getMessageObject()
method.Constructor and Description |
---|
LocalizedHttpApplicationException(LocalizableMessage message)
Creates a new localized http application exception with the provided message.
|
LocalizedHttpApplicationException(LocalizableMessage message,
Throwable cause)
Creates a new localized http application exception with the provided message and cause.
|
Modifier and Type | Method and Description |
---|---|
LocalizableMessage |
getMessageObject()
Returns the localizable message that explains the problem that occurred.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public LocalizedHttpApplicationException(LocalizableMessage message)
message
- The message that explains the problem that occurred.public LocalizedHttpApplicationException(LocalizableMessage message, Throwable cause)
message
- The message that explains the problem that occurred.cause
- The cause which may be later retrieved by the Throwable.getCause()
method. A null
value is
permitted, and indicates that the cause is nonexistent or unknown.public final LocalizableMessage getMessageObject()
LocalizableException
getMessageObject
in interface LocalizableException
Copyright 2010-2022 ForgeRock AS.