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