public class CredentialExpiredException extends CredentialException
Credential已过期。
被loginmodules当他们确定一个Credential已过期,这是例外。例如,一个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.