public class PasswordCredentialValidatorAuthnException extends PasswordValidationException
PasswordCredentialValidator
,
Serialized FormConstructor and Description |
---|
PasswordCredentialValidatorAuthnException(boolean isRecoverable,
String messageKey)
Create an instance for a user authentication error.
|
PasswordCredentialValidatorAuthnException(boolean isRecoverable,
String messageKey,
Throwable cause)
Create an instance for a user authentication error.
|
Modifier and Type | Method and Description |
---|---|
String |
getMessageKey()
Accessor for the messageKey property.
|
boolean |
isRecoverable()
Accessor for the isRecoverable property.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public PasswordCredentialValidatorAuthnException(boolean isRecoverable, String messageKey)
isRecoverable
- Whether the exception represents a condition that can be corrected by the user (e.g. must change password)messageKey
- The key for the localized message displayed to the user. Failing to find it shows the message "as is".public PasswordCredentialValidatorAuthnException(boolean isRecoverable, String messageKey, Throwable cause)
isRecoverable
- Whether the exception represents a condition that can be corrected by the user (e.g. must change password)messageKey
- The key for the localized message displayed to the user. Failing to find it shows the message "as is".cause
- The cause of the exception, if anypublic boolean isRecoverable()
public String getMessageKey()
Copyright 2019 Ping Identity Corp. All rights reserved.