1. /*
  2. * Copyright 2002 Sun Microsystems, Inc. All rights reserved.
  3. * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
  4. */
  5. package javax.mail;
  6. /**
  7. * This exception is thrown when the connect method on a Store or
  8. * Transport object fails due to an authentication failure (e.g.,
  9. * bad user name or password).
  10. *
  11. * @author Bill Shannon
  12. */
  13. public class AuthenticationFailedException extends MessagingException {
  14. /**
  15. * Constructor
  16. */
  17. public AuthenticationFailedException() {
  18. super();
  19. }
  20. /**
  21. * Constructor
  22. * @param message The detailed error message
  23. */
  24. public AuthenticationFailedException(String message) {
  25. super(message);
  26. }
  27. }