1. /*
  2. * @(#)MimeTypeParseException.java 1.12 03/12/19
  3. *
  4. * Copyright 2004 Sun Microsystems, Inc. All rights reserved.
  5. * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
  6. */
  7. package java.awt.datatransfer;
  8. /**
  9. * A class to encapsulate MimeType parsing related exceptions
  10. *
  11. * @serial exclude
  12. */
  13. public class MimeTypeParseException extends Exception {
  14. // use serialVersionUID from JDK 1.2.2 for interoperability
  15. private static final long serialVersionUID = -5604407764691570741L;
  16. /**
  17. * Constructs a MimeTypeParseException with no specified detail message.
  18. */
  19. public MimeTypeParseException() {
  20. super();
  21. }
  22. /**
  23. * Constructs a MimeTypeParseException with the specified detail message.
  24. *
  25. * @param s the detail message.
  26. */
  27. public MimeTypeParseException(String s) {
  28. super(s);
  29. }
  30. } // class MimeTypeParseException