Class AuthenticationException

  • All Implemented Interfaces:
    com.sun.identity.shared.locale.L10NMessage, Serializable

    @SupportedAll
    public class AuthenticationException
    extends com.sun.identity.shared.locale.L10NMessageImpl
    AuthenticationException class is for handling Exception that is thrown when the user-entered tokens cause the authentication module to be authenticated to fail.
    See Also:
    Serialized Form
    • Constructor Detail

      • AuthenticationException

        public AuthenticationException​(String msg)
        Creates AuthenticationException object with given message.
        Parameters:
        msg - English message of this exception.
      • AuthenticationException

        public AuthenticationException​(String rbName,
                                       String errorCode,
                                       Object[] args)
        Creates AuthenticationException with the message from the given resource bundle, for a given error message key errorCode and using arguments to the message.
        Parameters:
        rbName - Resource bundle name for the message
        errorCode - Key to the message in resource bundle.
        args - Arguments to the message.