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