public class ExpiredCredentialsException extends CredentialsException
This is most often used to alert a user that their credentials (e.g. password or cryptography key) has expired and they should change the value. In such systems, the component invoking the authentication might catch this exception and redirect the user to an appropriate view to allow them to update their password or other credentials mechanism.
| Constructor and Description |
|---|
ExpiredCredentialsException()
Creates a new ExpiredCredentialsException.
|
ExpiredCredentialsException(String
Constructs a new ExpiredCredentialsException.
|
ExpiredCredentialsException(String
Constructs a new ExpiredCredentialsException.
|
ExpiredCredentialsException(Throwable
Constructs a new ExpiredCredentialsException.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic ExpiredCredentialsException()
public ExpiredCredentialsException(Stringmessage)
message - the reason for the exception
public ExpiredCredentialsException(Throwablecause)
cause - the underlying Throwable that caused this exception to be thrown.