JAL-1807 test
[jalviewjs.git] / bin / com / stevesoft / pat / RegSyntaxError.js
1 Clazz.declarePackage ("com.stevesoft.pat");
2 Clazz.load (["java.lang.Error"], "com.stevesoft.pat.RegSyntaxError", ["com.stevesoft.pat.RegSyntax"], function () {
3 c$ = Clazz.declareType (com.stevesoft.pat, "RegSyntaxError", Error);
4 Clazz.makeConstructor (c$, 
5 function () {
6 Clazz.superConstructor (this, com.stevesoft.pat.RegSyntaxError, []);
7 });
8 c$.endItAll = Clazz.defineMethod (c$, "endItAll", 
9 function (s) {
10 if (com.stevesoft.pat.RegSyntaxError.RegSyntaxErrorEnabled) {
11 throw  new com.stevesoft.pat.RegSyntaxError (s);
12 }throw  new com.stevesoft.pat.RegSyntax (s);
13 }, "~S");
14 Clazz.defineStatics (c$,
15 "RegSyntaxErrorEnabled", false);
16 });