Formatting
[jalview.git] / src / com / stevesoft / pat / RegSyntaxError.java
index c403412..688c906 100755 (executable)
@@ -17,13 +17,26 @@ package com.stevesoft.pat;
     I strongly recommend turning this flag on, however,\r
     as I think it is more likely to help than to hurt\r
     your programming efforts.\r
-    */\r
-public class RegSyntaxError extends Error {\r
-    public static boolean RegSyntaxErrorEnabled = false;\r
-    public RegSyntaxError() {}\r
-    public RegSyntaxError(String s) { super(s); }\r
-    final static void endItAll(String s) throws RegSyntax {\r
-        if(RegSyntaxErrorEnabled) throw new RegSyntaxError(s);\r
-        throw new RegSyntax(s);\r
+ */\r
+public class RegSyntaxError\r
+    extends Error\r
+{\r
+  public static boolean RegSyntaxErrorEnabled = false;\r
+  public RegSyntaxError()\r
+  {}\r
+\r
+  public RegSyntaxError(String s)\r
+  {\r
+    super(s);\r
+  }\r
+\r
+  final static void endItAll(String s)\r
+      throws RegSyntax\r
+  {\r
+    if (RegSyntaxErrorEnabled)\r
+    {\r
+      throw new RegSyntaxError(s);\r
     }\r
+    throw new RegSyntax(s);\r
+  }\r
 }\r