public class AccountExpiredException extends AccountException
当它们确定帐户已过期时,LoginModules会抛出此异常。 例如, LoginModule
,在成功验证用户,可确定用户的帐户已过期。 在这种情况下, LoginModule
抛出异常来通知应用程序。 然后,应用程序可以采取适当的步骤通知用户。
Constructor and Description |
---|
AccountExpiredException()
构造一个没有详细消息的AccountExpiredException。
|
AccountExpiredException(String msg)
构造具有指定详细消息的AccountExpiredException。
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public AccountExpiredException()
public AccountExpiredException(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.