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