1. /*
  2. * @(#)LoginException.java 1.16 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. * This is the basic login exception.
  10. *
  11. * @version 1.16, 12/19/03
  12. * @see javax.security.auth.login.LoginContext
  13. */
  14. public class LoginException extends java.security.GeneralSecurityException {
  15. private static final long serialVersionUID = -4679091624035232488L;
  16. /**
  17. * Constructs a LoginException with no detail message. A detail
  18. * message is a String that describes this particular exception.
  19. */
  20. public LoginException() {
  21. super();
  22. }
  23. /**
  24. * Constructs a LoginException with the specified detail message.
  25. * A detail message is a String that describes this particular
  26. * exception.
  27. *
  28. * <p>
  29. *
  30. * @param msg the detail message.
  31. */
  32. public LoginException(String msg) {
  33. super(msg);
  34. }
  35. }