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.internet;
  6. import javax.mail.MessagingException;
  7. /**
  8. * The exception thrown due to an error in parsing RFC822
  9. * or MIME headers
  10. *
  11. * @author John Mani
  12. */
  13. public class ParseException extends MessagingException {
  14. /**
  15. * Constructs a ParseException with no detail message.
  16. */
  17. public ParseException() {
  18. super();
  19. }
  20. /**
  21. * Constructs a ParseException with the specified detail message.
  22. * @param s the detail message
  23. */
  24. public ParseException(String s) {
  25. super(s);
  26. }
  27. }