public class AuthenticationException extends L10NMessageImpl
AuthenticationException
class is for handling Exception that
is thrown when the user-entered tokens cause the authentication module to
be authenticated to fail.Constructor and Description |
---|
AuthenticationException(String msg)
Creates
AuthenticationException object with given message. |
AuthenticationException(String rbName,
String errorCode,
Object[] args)
Creates
AuthenticationException with the message from
the given resource bundle, for a given error message key
errorCode and using arguments to the message. |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public AuthenticationException(String msg)
AuthenticationException
object with given message.msg
- English message of this exception.public AuthenticationException(String rbName, String errorCode, Object[] args)
AuthenticationException
with the message from
the given resource bundle, for a given error message key
errorCode
and using arguments to the message.rbName
- Resource bundle name for the messageerrorCode
- Key to the message in resource bundle.args
- Arguments to the message.Copyright © 2010-2018, ForgeRock All Rights Reserved.