KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > apache > lenya > lucene > parser > ParseException


1 /*
2  * Copyright 1999-2004 The Apache Software Foundation
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  *
16  */

17
18 /* $Id: ParseException.java 42598 2004-03-01 16:18:28Z gregor $ */
19
20 package org.apache.lenya.lucene.parser;
21
22 public class ParseException extends Exception JavaDoc {
23     /** Creates a new instance of ParseException */
24     public ParseException() {
25     }
26
27     /**
28      * Creates a new ParseException object.
29      *
30      * @param message the error message
31      * @param cause the cause of the exception
32      */

33     public ParseException(String JavaDoc message, Throwable JavaDoc cause) {
34         super(message, cause);
35     }
36
37     /**
38      * Creates a new ParseException object.
39      *
40      * @param message the error message
41      */

42     public ParseException(String JavaDoc message) {
43         super(message);
44     }
45
46     /**
47      * Creates a new ParseException object.
48      *
49      * @param cause the cause of the exception
50      */

51     public ParseException(Throwable JavaDoc cause) {
52         super(cause);
53     }
54 }
55
Popular Tags