public class InvalidPasswordException extends AuthLoginException
userTokenId
so that subsequent calls to getUserTokenId
will return correct
userTokenId
that will be use to lock out the user.Constructor and Description |
---|
InvalidPasswordException(String message)
Constructs an
InvalidPasswordException object. |
InvalidPasswordException(String message,
String tokenId)
Constructs an
InvalidPasswordException object. |
InvalidPasswordException(String rbName,
String errCode,
Object[] args)
Constructs an
InvalidPasswordException object. |
InvalidPasswordException(String rbName,
String errorCode,
Object[] args,
String tokenId,
Throwable t)
Constructs an
InvalidPasswordException object. |
InvalidPasswordException(Throwable t)
Constructs an
InvalidPasswordException object. |
Modifier and Type | Method and Description |
---|---|
String |
getTokenId()
Returns the token ID.
|
getErrorCode, getL10NMessage, getMessage, getMessageArgs, getResourceBundleName
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public InvalidPasswordException(String rbName, String errCode, Object[] args)
InvalidPasswordException
object.rbName
- Resource bundle name for the message.errCode
- Key to the message in resource bundle.args
- Arguments to the message.public InvalidPasswordException(String message)
InvalidPasswordException
object.message
- English message for the exception.public InvalidPasswordException(String message, String tokenId)
InvalidPasswordException
object.message
- English message for the exception.tokenId
- The userId
for which the exception occurred.public InvalidPasswordException(Throwable t)
InvalidPasswordException
object.t
- the root cause of the exceptionpublic InvalidPasswordException(String rbName, String errorCode, Object[] args, String tokenId, Throwable t)
InvalidPasswordException
object.rbName
- Resource bundle name for the message.errorCode
- Key to the message in resource bundle.args
- Arguments to the message.tokenId
- userID
for which the exception occurred.t
- The root cause of the exception.public String getTokenId()
Copyright © 2010-2018, ForgeRock All Rights Reserved.