KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > enhydra > spi > webxml > util > XmlParseException


1 /*
2  * Enhydra Java Application Server Project
3  *
4  * The contents of this file are subject to the Enhydra Public License
5  * Version 1.1 (the "License"); you may not use this file except in
6  * compliance with the License. You may obtain a copy of the License on
7  * the Enhydra web site ( http://www.enhydra.org/ ).
8  *
9  * Software distributed under the License is distributed on an "AS IS"
10  * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
11  * the License for the specific terms governing rights and limitations
12  * under the License.
13  *
14  * The Initial Developer of the Enhydra Application Server is Lutris
15  * Technologies, Inc. The Enhydra Application Server and portions created
16  * by Lutris Technologies, Inc. are Copyright Lutris Technologies, Inc.
17  * All Rights Reserved.
18  *
19  * Contributor(s):
20  *
21  */

22 package org.enhydra.spi.webxml.util;
23
24 /**
25  * <p>Title: </p>
26  * <p>Description: </p>
27  * <p>Copyright: Copyright (c) 2004</p>
28  * <p>Company: </p>
29  * @author Tanja Jovanovic
30  * @version 1.0
31  */

32
33 public class XmlParseException extends Exception JavaDoc {
34
35     /** Constructs a new exception with the detail message.
36      *
37      * @param msg A detailed message describing the expection.
38      */

39     public XmlParseException (String JavaDoc msg) {
40         super (msg);
41     }
42
43     /**
44      * Constructs a new exception with the specified cause.
45      *
46      * @param cause The cause (which is saved for later retrieval by the
47      * Throwable.getCause() method).
48      * A null value is permitted, and indicates that the cause is
49      * nonexistent or unknown.
50      */

51     public XmlParseException (Throwable JavaDoc cause) {
52         super (cause);
53     }
54
55     /**
56      * Constructs a new exception with the specified cause and a detail message.
57      *
58      * @param msg A detailed message describing the expection.
59      * @param cause The cause (which is saved for later retrieval by the
60      * Throwable.getCause() method).
61      * A null value is permitted, and indicates that the cause is
62      * nonexistent or unknown.
63      */

64     public XmlParseException (String JavaDoc msg, Throwable JavaDoc cause) {
65         super (msg,cause);
66     }
67
68 }
Popular Tags