com.sun.identity.authentication.spi
Class AuthenticationException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.sun.identity.shared.locale.L10NMessageImpl
              extended by com.sun.identity.authentication.spi.AuthenticationException

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 Summary
AuthenticationException(String msg)
          Creates AuthenticationException object with given message.
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.
 

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.