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:
L10NMessage,Serializable
public class AuthenticationException extends L10NMessageImpl
AuthenticationExceptionclass 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)CreatesAuthenticationExceptionobject 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 com.sun.identity.shared.locale.L10NMessageImpl
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
-
AuthenticationException
public AuthenticationException(String msg)
CreatesAuthenticationExceptionobject with given message.- Parameters:
msg- English message of this exception.
-
AuthenticationException
public 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.- Parameters:
rbName- Resource bundle name for the messageerrorCode- Key to the message in resource bundle.args- Arguments to the message.
-
-