com.sun.identity.authentication.spi
Class UserNamePasswordValidationException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--java.security.GeneralSecurityException
                    |
                    +--javax.security.auth.login.LoginException
                          |
                          +--com.sun.identity.authentication.spi.AuthLoginException
                                |
                                +--com.sun.identity.authentication.spi.UserNamePasswordValidationException
All Implemented Interfaces:
com.sun.identity.common.L10NMessage, java.io.Serializable

public class UserNamePasswordValidationException
extends AuthLoginException

This class is for handling Exception that is thrown when the user name password validation plugin is failed or any invalid characters detected in user name.

See Also:
Serialized Form

Constructor Summary
UserNamePasswordValidationException(java.lang.String message)
          Constructs a UserNamePasswordValidationException with given message.
UserNamePasswordValidationException(java.lang.String rbName, java.lang.String errorCode, java.lang.Object[] args)
          Constructs a UserNamePasswordValidationException with the message from the given resource bundle, for a given error message key (errorCode) and using arguments to the message.
UserNamePasswordValidationException(java.lang.Throwable t)
          Constructs a UserNamePasswordValidationException with given Throwable.
 
Methods inherited from class com.sun.identity.authentication.spi.AuthLoginException
getErrorCode, getL10NMessage, getMessage, getMessageArgs, getResourceBundleName, printStackTrace, printStackTrace, printStackTrace
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

UserNamePasswordValidationException

public UserNamePasswordValidationException(java.lang.String rbName,
                                           java.lang.String errorCode,
                                           java.lang.Object[] args)
Constructs a UserNamePasswordValidationException 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 error message.
errorCode - Key to the message in resource bundle.
args - Arguments to the message.

UserNamePasswordValidationException

public UserNamePasswordValidationException(java.lang.String message)
Constructs a UserNamePasswordValidationException with given message.
Parameters:
message - English message for the exception.

UserNamePasswordValidationException

public UserNamePasswordValidationException(java.lang.Throwable t)
Constructs a UserNamePasswordValidationException with given Throwable.
Parameters:
t - the root cause of the exception


Copyright 2005 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.