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