public class LocalizedHttpApplicationException
extends org.forgerock.http.HttpApplicationException
implements org.forgerock.i18n.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(org.forgerock.i18n.LocalizableMessage message)
Creates a new localized http application exception with the provided message.
|
LocalizedHttpApplicationException(org.forgerock.i18n.LocalizableMessage message,
Throwable cause)
Creates a new localized http application exception with the provided message and cause.
|
| Modifier and Type | Method and Description |
|---|---|
org.forgerock.i18n.LocalizableMessage |
getMessageObject() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic LocalizedHttpApplicationException(org.forgerock.i18n.LocalizableMessage message)
message - The message that explains the problem that occurred.public LocalizedHttpApplicationException(org.forgerock.i18n.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.Copyright © 2010-2020 Wren Security. All Rights Reserved.