1. /*
  2. * @(#)AccountLockedException.java 1.2 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 an account was locked.
  10. *
  11. * <p> This exception may be thrown by a LoginModule if it
  12. * determines that authentication is being attempted on a
  13. * locked account.
  14. *
  15. * @version 1.2, 12/19/03
  16. * @since 1.5
  17. */
  18. public class AccountLockedException extends AccountException {
  19. private static final long serialVersionUID = 8280345554014066334L;
  20. /**
  21. * Constructs a AccountLockedException with no detail message.
  22. * A detail message is a String that describes this particular exception.
  23. */
  24. public AccountLockedException() {
  25. super();
  26. }
  27. /**
  28. * Constructs a AccountLockedException with the specified
  29. * detail message. A detail message is a String that describes
  30. * this particular exception.
  31. *
  32. * <p>
  33. *
  34. * @param msg the detail message.
  35. */
  36. public AccountLockedException(String msg) {
  37. super(msg);
  38. }
  39. }