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,org.forgerock.i18n.LocalizableException
public class LocalizedHttpApplicationException extends org.forgerock.http.HttpApplicationException implements org.forgerock.i18n.LocalizableExceptionThrown to indicate that anHttpApplicationwas unable to start. ALocalizedHttpApplicationExceptioncontains a localized error message which may be used to provide the user with detailed diagnosis information. The localized message can be retrieved using thegetMessageObject()method.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor 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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.forgerock.i18n.LocalizableMessagegetMessageObject()-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
LocalizedHttpApplicationException
public LocalizedHttpApplicationException(org.forgerock.i18n.LocalizableMessage message)
Creates a new localized http application exception with the provided message.- Parameters:
message- The message that explains the problem that occurred.
-
LocalizedHttpApplicationException
public LocalizedHttpApplicationException(org.forgerock.i18n.LocalizableMessage message, Throwable cause)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. Anullvalue is permitted, and indicates that the cause is nonexistent or unknown.
-
-