Package org.opends.server.protocols.http
Class LocalizedHttpApplicationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.forgerock.http.HttpApplicationException
org.opends.server.protocols.http.LocalizedHttpApplicationException
- All Implemented Interfaces:
Serializable
,LocalizableException
public final class LocalizedHttpApplicationException
extends org.forgerock.http.HttpApplicationException
implements LocalizableException
Thrown to indicate that an
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.- See Also:
-
Constructor Summary
ConstructorDescriptionLocalizedHttpApplicationException
(LocalizableMessage message, Throwable cause) Creates a new localized http application exception with the provided message and cause. -
Method Summary
Modifier and TypeMethodDescriptionReturns the localizable message that explains the problem that occurred.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
LocalizedHttpApplicationException
Creates a new localized http application exception with the provided message and cause.- Parameters:
message
- The message that explains the problem that occurred.cause
- The cause which may be later retrieved by theThrowable.getCause()
method. Anull
value is permitted, and indicates that the cause is nonexistent or unknown.
-
-
Method Details
-
getMessageObject
Description copied from interface:LocalizableException
Returns the localizable message that explains the problem that occurred.- Specified by:
getMessageObject
in interfaceLocalizableException
- Returns:
- The localizable message that explains the problem that occurred.
-