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