Class AuthenticationException

  • All Implemented Interfaces:
    Serializable, org.forgerock.i18n.LocalizableException

    public class AuthenticationException
    extends AdminException
    This exception is thrown when an authentication error occurs while connecting to the Directory Server. An authentication error can happen, for example, when the client credentials are invalid.
    See Also:
    Serialized Form
    • Constructor Detail

      • AuthenticationException

        public AuthenticationException()
        Creates an authentication exception with a default message.
      • AuthenticationException

        public AuthenticationException​(Throwable cause)
        Create an authentication exception with a cause and a default message.
        Parameters:
        cause - The cause.
      • AuthenticationException

        public AuthenticationException​(org.forgerock.i18n.LocalizableMessage message,
                                       Throwable cause)
        Create an authentication exception with a message and cause.
        Parameters:
        message - The message.
        cause - The cause.
      • AuthenticationException

        public AuthenticationException​(org.forgerock.i18n.LocalizableMessage message)
        Create an authentication exception with a message.
        Parameters:
        message - The message.