X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fcom%2Fstevesoft%2Fpat%2FRegSyntaxError.java;h=688c906cc802d417fec68a7ce91e67cdc699b62d;hb=7bc226b58110fa26d9dbd3f0c78095d06909ffc3;hp=c4034122a028d69eab6e11b305a2797af891d285;hpb=c40cf903f740a72ab63dd1abc10fa33450ce660d;p=jalview.git diff --git a/src/com/stevesoft/pat/RegSyntaxError.java b/src/com/stevesoft/pat/RegSyntaxError.java index c403412..688c906 100755 --- a/src/com/stevesoft/pat/RegSyntaxError.java +++ b/src/com/stevesoft/pat/RegSyntaxError.java @@ -17,13 +17,26 @@ package com.stevesoft.pat; I strongly recommend turning this flag on, however, as I think it is more likely to help than to hurt your programming efforts. - */ -public class RegSyntaxError extends Error { - public static boolean RegSyntaxErrorEnabled = false; - public RegSyntaxError() {} - public RegSyntaxError(String s) { super(s); } - final static void endItAll(String s) throws RegSyntax { - if(RegSyntaxErrorEnabled) throw new RegSyntaxError(s); - throw new RegSyntax(s); + */ +public class RegSyntaxError + extends Error +{ + public static boolean RegSyntaxErrorEnabled = false; + public RegSyntaxError() + {} + + public RegSyntaxError(String s) + { + super(s); + } + + final static void endItAll(String s) + throws RegSyntax + { + if (RegSyntaxErrorEnabled) + { + throw new RegSyntaxError(s); } + throw new RegSyntax(s); + } }