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
ConstructorDescriptionCreatesAuthenticationException
object with given message.AuthenticationException
(String rbName, String errorCode, Object[] args) CreatesAuthenticationException
with the message from the given resource bundle, for a given error message keyerrorCode
and 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
CreatesAuthenticationException
object with given message.- Parameters:
msg
- English message of this exception.
-
AuthenticationException
CreatesAuthenticationException
with the message from the given resource bundle, for a given error message keyerrorCode
and 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.
-