JAL-1807 still testing
[jalviewjs.git] / unused / com / stevesoft / pat / RegSyntax.java
1 //\r
2 // This software is now distributed according to\r
3 // the Lesser Gnu Public License.  Please see\r
4 // http://www.gnu.org/copyleft/lesser.txt for\r
5 // the details.\r
6 //    -- Happy Computing!\r
7 //\r
8 package com.stevesoft.pat;\r
9 \r
10 /*\r
11  Shareware: package pat\r
12  <a href="copyright.html">Copyright 2001, Steven R. Brandt</a>\r
13  */\r
14 /**\r
15  * This type of syntax error is thrown whenever a syntax error is encountered in\r
16  * the pattern. It may not be caught directly, as it is not in the throws clause\r
17  * of any method. To detect it, catch Throwable, and use instanceof to see if it\r
18  * is a RegSyntax.\r
19  */\r
20 public class RegSyntax extends Exception\r
21 {\r
22   RegSyntax()\r
23   {\r
24   }\r
25 \r
26   RegSyntax(String msg)\r
27   {\r
28     super(msg);\r
29   }\r
30 };\r