KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > JFlex > MacroException


1 /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
2  * JFlex 1.4.1 *
3  * Copyright (C) 1998-2004 Gerwin Klein <lsf@jflex.de> *
4  * All rights reserved. *
5  * *
6  * This program is free software; you can redistribute it and/or modify *
7  * it under the terms of the GNU General Public License. See the file *
8  * COPYRIGHT for more information. *
9  * *
10  * This program is distributed in the hope that it will be useful, *
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of *
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
13  * GNU General Public License for more details. *
14  * *
15  * You should have received a copy of the GNU General Public License along *
16  * with this program; if not, write to the Free Software Foundation, Inc., *
17  * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA *
18  * *
19  * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */

20
21 package JFlex;
22
23
24 /**
25  * This Exception is used in the macro expander to report cycles or
26  * undefined macro usages.
27  *
28  * @author Gerwin Klein
29  * @version JFlex 1.4.1, $Revision: 2.2 $, $Date: 2004/11/06 23:03:32 $
30  */

31 public class MacroException extends RuntimeException JavaDoc {
32
33   /**
34    * Creates a new MacroException without message
35    */

36   public MacroException() {
37   }
38
39
40   /**
41    * Creates a new MacroException with the specified message
42    *
43    * @param message the error description presented to the user.
44    */

45   public MacroException(String JavaDoc message) {
46     super(message);
47   }
48
49 }
50
Popular Tags