Class LocalizedHttpApplicationException

  • All Implemented Interfaces:
    Serializable, LocalizableException

    public 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:
    Serialized Form
    • Constructor Detail

      • LocalizedHttpApplicationException

        public LocalizedHttpApplicationException​(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 the Throwable.getCause() method. A null value is permitted, and indicates that the cause is nonexistent or unknown.