1 Clazz.declarePackage ("jalview.analysis");
2 Clazz.load (["java.lang.Exception"], "jalview.analysis.WUSSParseException", null, function () {
3 c$ = Clazz.decorateAsClass (function () {
5 Clazz.instantialize (this, arguments);
6 }, jalview.analysis, "WUSSParseException", Exception);
7 Clazz.makeConstructor (c$,
8 function (problemPos) {
9 this.construct ("Invalid WUSS Notation", problemPos);
11 Clazz.makeConstructor (c$,
12 function (message, problemPos) {
13 Clazz.superConstructor (this, jalview.analysis.WUSSParseException, [message + " at or near position " + problemPos]);
14 this.problemPos = problemPos;
16 Clazz.defineMethod (c$, "getProblemPos",
18 return this.problemPos;