Class AuthenticationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.sun.identity.shared.locale.L10NMessageImpl
com.sun.identity.authentication.spi.AuthenticationException
- All Implemented Interfaces:
com.sun.identity.shared.locale.L10NMessage,Serializable
@SupportedAll
public class AuthenticationException
extends com.sun.identity.shared.locale.L10NMessageImpl
AuthenticationException class is for handling Exception that
is thrown when the user-entered tokens cause the authentication module to
be authenticated to fail.- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCreatesAuthenticationExceptionobject with given message.AuthenticationException(String rbName, String errorCode, Object[] args) CreatesAuthenticationExceptionwith the message from the given resource bundle, for a given error message keyerrorCodeand using arguments to the message. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
AuthenticationException
CreatesAuthenticationExceptionobject with given message.- Parameters:
msg- English message of this exception.
-
AuthenticationException
CreatesAuthenticationExceptionwith the message from the given resource bundle, for a given error message keyerrorCodeand using arguments to the message.- Parameters:
rbName- Resource bundle name for the messageerrorCode- Key to the message in resource bundle.args- Arguments to the message.
-