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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AuthenticationException(String msg)
CreatesAuthenticationException
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 Detail
-
AuthenticationException
public AuthenticationException(String msg)
CreatesAuthenticationException
object with given message.- Parameters:
msg
- English message of this exception.
-
AuthenticationException
public 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.- Parameters:
rbName
- Resource bundle name for the messageerrorCode
- Key to the message in resource bundle.args
- Arguments to the message.
-
-