01: /*
02: * @(#)ParseException.java 1.3 02/03/27
03: */
04:
05: /*
06: * Copyright 2006 Sun Microsystems, Inc. All Rights Reserved.
07: * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
08: *
09: * This code is free software; you can redistribute it and/or modify it
10: * under the terms of the GNU General Public License version 2 only, as
11: * published by the Free Software Foundation. Sun designates this
12: * particular file as subject to the "Classpath" exception as provided
13: * by Sun in the LICENSE file that accompanied this code.
14: *
15: * This code is distributed in the hope that it will be useful, but WITHOUT
16: * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
17: * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
18: * version 2 for more details (a copy is included in the LICENSE file that
19: * accompanied this code).
20: *
21: * You should have received a copy of the GNU General Public License version
22: * 2 along with this work; if not, write to the Free Software Foundation,
23: * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
24: *
25: * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
26: * CA 95054 USA or visit www.sun.com if you need additional information or
27: * have any questions.
28: */
29:
30: package com.sun.xml.internal.messaging.saaj.packaging.mime.internet;
31:
32: import com.sun.xml.internal.messaging.saaj.packaging.mime.MessagingException;
33:
34: /**
35: * The exception thrown due to an error in parsing RFC822
36: * or MIME headers
37: *
38: * @author John Mani
39: */
40:
41: public class ParseException extends MessagingException {
42:
43: /**
44: * Constructs a ParseException with no detail message.
45: */
46: public ParseException() {
47: super ();
48: }
49:
50: /**
51: * Constructs a ParseException with the specified detail message.
52: * @param s the detail message
53: */
54: public ParseException(String s) {
55: super(s);
56: }
57: }
|