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