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 Session attempts to instantiate a
  8. * Provider that doesn't exist.
  9. *
  10. * @author Max Spivak
  11. */
  12. public class NoSuchProviderException extends MessagingException {
  13. /**
  14. * Constructor.
  15. */
  16. public NoSuchProviderException() {
  17. super();
  18. }
  19. /**
  20. * Constructor.
  21. * @param message The detailed error message
  22. */
  23. public NoSuchProviderException(String message) {
  24. super(message);
  25. }
  26. }