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.shared.locale.L10NMessage
,Serializable
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:
-
Constructor Summary
ConstructorDescriptionCreatesUserNamePasswordValidationException
with given message.UserNamePasswordValidationException
(String rbName, String errorCode, Object[] args) CreatesUserNamePasswordValidationException
with the message from the given resource bundle, for a given error message key (errorCode
) and using arguments to the message.CreatesUserNamePasswordValidationException
with givenThrowable
. -
Method Summary
Methods inherited from class com.sun.identity.authentication.spi.AuthLoginException
getErrorCode, getL10NMessage, getMessage, getMessageArgs, getResourceBundleName
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
UserNamePasswordValidationException
CreatesUserNamePasswordValidationException
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
CreatesUserNamePasswordValidationException
with given message.- Parameters:
message
- English message for the exception.
-
UserNamePasswordValidationException
CreatesUserNamePasswordValidationException
with givenThrowable
.- Parameters:
t
- the root cause of the exception
-