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