1. /*
  2. * @(#)AccountExpiredException.java 1.15 03/01/23
  3. *
  4. * Copyright 2003 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.15, 01/23/03
  19. */
  20. public class AccountExpiredException extends LoginException {
  21. /**
  22. * Constructs a AccountExpiredException with no detail message. A detail
  23. * message is a String that describes this particular exception.
  24. */
  25. public AccountExpiredException() {
  26. super();
  27. }
  28. /**
  29. * Constructs a AccountExpiredException with the specified detail
  30. * message. A detail message is a String that describes this particular
  31. * exception.
  32. *
  33. * <p>
  34. *
  35. * @param msg the detail message.
  36. */
  37. public AccountExpiredException(String msg) {
  38. super(msg);
  39. }
  40. }