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 8 package java.awt.datatransfer; 9 10 11 /** 12 * A class to encapsulate MimeType parsing related exceptions 13 * 14 * @serial exclude 15 */ 16 public class MimeTypeParseException extends Exception { 17 18 // use serialVersionUID from JDK 1.2.2 for interoperability 19 private static final long serialVersionUID = -5604407764691570741L; 20 21 /** 22 * Constructs a MimeTypeParseException with no specified detail message. 23 */ 24 public MimeTypeParseException() { 25 super(); 26 } 27 28 /** 29 * Constructs a MimeTypeParseException with the specified detail message. 30 * 31 * @param s the detail message. 32 */ 33 public MimeTypeParseException(String s) { 34 super(s); 35 } 36 } // class MimeTypeParseException 37