/*\r
Shareware: package pat\r
<a href="copyright.html">Copyright 2001, Steven R. Brandt</a>\r
-*/\r
+ */\r
/**\r
-This type of syntax error is thrown whenever a syntax error\r
+ This type of syntax error is thrown whenever a syntax error\r
is encountered in the pattern. It may not be caught directly, as\r
it is not in the throws clause of any method. To detect it, catch\r
Throwable, and use instanceof to see if it is a RegSyntax. */\r
-public class RegSyntax extends Exception {\r
- RegSyntax() {}\r
- RegSyntax(String msg) {\r
- super(msg);\r
- }\r
+public class RegSyntax\r
+ extends Exception\r
+{\r
+ RegSyntax()\r
+ {}\r
+\r
+ RegSyntax(String msg)\r
+ {\r
+ super(msg);\r
+ }\r
};\r