1. /*
  2. * Copyright 2002 Sun Microsystems, Inc. All rights reserved.
  3. * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
  4. */
  5. package javax.security.auth.login;
  6. /**
  7. * Signals that a user account has expired.
  8. *
  9. * <p> This exception is thrown by LoginModules when they determine
  10. * that an account has expired. For example, a <code>LoginModule</code>,
  11. * after successfully authenticating a user, may determine that the
  12. * user's account has expired. In this case the <code>LoginModule</code>
  13. * throws this exception to notify the application. The application can
  14. * then take the appropriate steps to notify the user.
  15. *
  16. * @version 1.12, 01/11/00
  17. */
  18. public class AccountExpiredException extends LoginException {
  19. /**
  20. * Constructs a AccountExpiredException with no detail message. A detail
  21. * message is a String that describes this particular exception.
  22. */
  23. public AccountExpiredException() {
  24. super();
  25. }
  26. /**
  27. * Constructs a AccountExpiredException with the specified detail
  28. * message. A detail message is a String that describes this particular
  29. * exception.
  30. *
  31. * <p>
  32. *
  33. * @param msg the detail message.
  34. */
  35. public AccountExpiredException(String msg) {
  36. super(msg);
  37. }
  38. }