public class CredentialExpiredException extends CredentialException
Credential已过期。
当它们确定Credential已过期时,LoginModules会抛出此异常。 例如, LoginModule以其login方法认证用户可能会确定用户密码虽然输入正确,但已过期。 在这种情况下, LoginModule会抛出此异常以通知应用程序。 然后,应用程序可以采取适当的步骤来帮助用户更新密码。
| Constructor and Description |
|---|
CredentialExpiredException()
构造一个没有详细信息的CredentialExpiredException。
|
CredentialExpiredException(String msg)
构造具有指定详细消息的CredentialExpiredException。
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic CredentialExpiredException()
public CredentialExpiredException(String msg)
msg - 详细信息。
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.