X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fcom%2Fstevesoft%2Fpat%2FRegSyntax.java;h=635dc4c01a39f3ea339d67d034000731671881a8;hb=506d60f0e188723ddc91c26824b41ac7034df3fe;hp=ac47c1a3207af93f4cd98656103e1f3c51d4e594;hpb=60f2d6c034560415fd0139c8bc7df0c19cae1186;p=jalview.git diff --git a/src/com/stevesoft/pat/RegSyntax.java b/src/com/stevesoft/pat/RegSyntax.java index ac47c1a..635dc4c 100755 --- a/src/com/stevesoft/pat/RegSyntax.java +++ b/src/com/stevesoft/pat/RegSyntax.java @@ -1,29 +1,30 @@ -// -// This software is now distributed according to -// the Lesser Gnu Public License. Please see -// http://www.gnu.org/copyleft/lesser.txt for -// the details. -// -- Happy Computing! -// -package com.stevesoft.pat; - -/* - Shareware: package pat - Copyright 2001, Steven R. Brandt - */ -/** - This type of syntax error is thrown whenever a syntax error - is encountered in the pattern. It may not be caught directly, as - it is not in the throws clause of any method. To detect it, catch - Throwable, and use instanceof to see if it is a RegSyntax. */ -public class RegSyntax - extends Exception -{ - RegSyntax() - {} - - RegSyntax(String msg) - { - super(msg); - } -}; +// +// This software is now distributed according to +// the Lesser Gnu Public License. Please see +// http://www.gnu.org/copyleft/lesser.txt for +// the details. +// -- Happy Computing! +// +package com.stevesoft.pat; + +/* + Shareware: package pat + Copyright 2001, Steven R. Brandt + */ +/** + * This type of syntax error is thrown whenever a syntax error is encountered in + * the pattern. It may not be caught directly, as it is not in the throws clause + * of any method. To detect it, catch Throwable, and use instanceof to see if it + * is a RegSyntax. + */ +public class RegSyntax extends Exception +{ + RegSyntax() + { + } + + RegSyntax(String msg) + { + super(msg); + } +};