78201c5753932f1f79ea08b1811e542712546e33
[jalviewjs.git] / site / swingjs / j2s / java / text / ParseException.js
1 Clazz.declarePackage ("java.text");\r
2 Clazz.load (["java.lang.Exception"], "java.text.ParseException", null, function () {\r
3 c$ = Clazz.decorateAsClass (function () {\r
4 this.errorOffset = 0;\r
5 Clazz.instantialize (this, arguments);\r
6 }, java.text, "ParseException", Exception);\r
7 Clazz.makeConstructor (c$, \r
8 function (s, errorOffset) {\r
9 Clazz.superConstructor (this, java.text.ParseException, [s]);\r
10 this.errorOffset = errorOffset;\r
11 }, "~S,~N");\r
12 Clazz.defineMethod (c$, "getErrorOffset", \r
13 function () {\r
14 return this.errorOffset;\r
15 });\r
16 });\r