1. /*
  2. * Copyright 2002 Sun Microsystems, Inc. All rights reserved.
  3. * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
  4. */
  5. package javax.security.auth.login;
  6. /**
  7. * This is the basic login exception.
  8. *
  9. * @version 1.11, 01/11/00
  10. * @see javax.security.auth.login.LoginContext
  11. */
  12. public class LoginException extends java.security.GeneralSecurityException {
  13. /**
  14. * Constructs a LoginException with no detail message. A detail
  15. * message is a String that describes this particular exception.
  16. */
  17. public LoginException() {
  18. super();
  19. }
  20. /**
  21. * Constructs a LoginException with the specified detail message.
  22. * A detail message is a String that describes this particular
  23. * exception.
  24. *
  25. * <p>
  26. *
  27. * @param msg the detail message.
  28. */
  29. public LoginException(String msg) {
  30. super(msg);
  31. }
  32. }