1. /*
  2. * Copyright 2002 Sun Microsystems, Inc. All rights reserved.
  3. * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
  4. */
  5. package javax.activation;
  6. /**
  7. * A class to encapsulate MimeType parsing related exceptions.
  8. */
  9. public class MimeTypeParseException extends Exception {
  10. /**
  11. * Constructs a MimeTypeParseException with no specified detail message.
  12. */
  13. public MimeTypeParseException() {
  14. super();
  15. }
  16. /**
  17. * Constructs a MimeTypeParseException with the specified detail message.
  18. *
  19. * @param s the detail message.
  20. */
  21. public MimeTypeParseException(String s) {
  22. super(s);
  23. }
  24. }