|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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
public class UserNamePasswordValidationException
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.
Constructor Summary | |
---|---|
UserNamePasswordValidationException(String message)
Creates UserNamePasswordValidationException with
given message. |
|
UserNamePasswordValidationException(String rbName,
String errorCode,
Object[] args)
Creates UserNamePasswordValidationException with the
message from the given resource bundle, for a given error message key
(errorCode ) and using arguments to the message. |
|
UserNamePasswordValidationException(Throwable t)
Creates UserNamePasswordValidationException with given
Throwable . |
Method Summary |
---|
Methods inherited from class com.sun.identity.authentication.spi.AuthLoginException |
---|
getErrorCode, getL10NMessage, getMessage, getMessageArgs, getResourceBundleName, printStackTrace, printStackTrace, printStackTrace |
Constructor Detail |
---|
public UserNamePasswordValidationException(String rbName, String errorCode, Object[] args)
UserNamePasswordValidationException
with the
message from the given resource bundle, for a given error message key
(errorCode
) and using arguments to the message.
rbName
- Resource bundle name for the error message.errorCode
- Key to the message in resource bundle.args
- Arguments to the message.public UserNamePasswordValidationException(String message)
UserNamePasswordValidationException
with
given message.
message
- English message for the exception.public UserNamePasswordValidationException(Throwable t)
UserNamePasswordValidationException
with given
Throwable
.
t
- the root cause of the exception
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |