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. * The exception thrown when a method is not supported by the
  8. * implementation
  9. *
  10. * @author John Mani
  11. */
  12. public
  13. class MethodNotSupportedException extends MessagingException {
  14. /**
  15. * Constructs a MethodNotSupportedException with no detail message.
  16. */
  17. public MethodNotSupportedException() {
  18. super();
  19. }
  20. /**
  21. * Constructs a MethodNotSupportedException with the specified detail message.
  22. * @param s the detail message
  23. */
  24. public MethodNotSupportedException(String s) {
  25. super(s);
  26. }
  27. }