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
@SupportedAll 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
Constructors Constructor Description UserNamePasswordValidationException(String message)
CreatesUserNamePasswordValidationException
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.UserNamePasswordValidationException(Throwable t)
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 Detail
-
UserNamePasswordValidationException
public 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.- 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(String message)
CreatesUserNamePasswordValidationException
with given message.- Parameters:
message
- English message for the exception.
-
UserNamePasswordValidationException
public UserNamePasswordValidationException(Throwable t)
CreatesUserNamePasswordValidationException
with givenThrowable
.- Parameters:
t
- the root cause of the exception
-
-