X-Git-Url: http://source.jalview.org/gitweb/?p=jalviewjs.git;a=blobdiff_plain;f=site%2Fswingjs%2Fj2s%2Forg%2Fxml%2Fsax%2FSAXException.js;fp=site%2Fswingjs%2Fj2s%2Forg%2Fxml%2Fsax%2FSAXException.js;h=e7ed0dda315e0aa0529338d8b8ac858d4bca1893;hp=9063f2b9619acb228de4d5196c30bd6b139cad9d;hb=b9b7a352eee79b7764c3b09c9d19663075061d8c;hpb=7301a2415adab88038b291fc54caeeb3a5a47a44 diff --git a/site/swingjs/j2s/org/xml/sax/SAXException.js b/site/swingjs/j2s/org/xml/sax/SAXException.js index 9063f2b..e7ed0dd 100644 --- a/site/swingjs/j2s/org/xml/sax/SAXException.js +++ b/site/swingjs/j2s/org/xml/sax/SAXException.js @@ -1,46 +1,46 @@ -Clazz.declarePackage ("org.xml.sax"); -Clazz.load (["java.lang.Exception"], "org.xml.sax.SAXException", null, function () { -c$ = Clazz.decorateAsClass (function () { -this.exception = null; -Clazz.instantialize (this, arguments); -}, org.xml.sax, "SAXException", Exception); -Clazz.makeConstructor (c$, -function () { -Clazz.superConstructor (this, org.xml.sax.SAXException); -this.exception = null; -}); -Clazz.makeConstructor (c$, -function (message) { -Clazz.superConstructor (this, org.xml.sax.SAXException, [message]); -this.exception = null; -}, "~S"); -Clazz.makeConstructor (c$, -function (e) { -Clazz.superConstructor (this, org.xml.sax.SAXException); -this.exception = e; -}, "Exception"); -Clazz.makeConstructor (c$, -function (message, e) { -Clazz.superConstructor (this, org.xml.sax.SAXException, [message]); -this.exception = e; -}, "~S,Exception"); -Clazz.defineMethod (c$, "getMessage", -function () { -var message = Clazz.superCall (this, org.xml.sax.SAXException, "getMessage", []); -if (message == null && this.exception != null) { -return this.exception.getMessage (); -} else { -return message; -}}); -Clazz.defineMethod (c$, "getException", -function () { -return this.exception; -}); -Clazz.defineMethod (c$, "toString", -function () { -if (this.exception != null) { -return this.exception.toString (); -} else { -return Clazz.superCall (this, org.xml.sax.SAXException, "toString", []); -}}); -}); +Clazz.declarePackage ("org.xml.sax"); +Clazz.load (["java.lang.Exception"], "org.xml.sax.SAXException", null, function () { +c$ = Clazz.decorateAsClass (function () { +this.exception = null; +Clazz.instantialize (this, arguments); +}, org.xml.sax, "SAXException", Exception); +Clazz.makeConstructor (c$, +function () { +Clazz.superConstructor (this, org.xml.sax.SAXException); +this.exception = null; +}); +Clazz.makeConstructor (c$, +function (message) { +Clazz.superConstructor (this, org.xml.sax.SAXException, [message]); +this.exception = null; +}, "~S"); +Clazz.makeConstructor (c$, +function (e) { +Clazz.superConstructor (this, org.xml.sax.SAXException); +this.exception = e; +}, "Exception"); +Clazz.makeConstructor (c$, +function (message, e) { +Clazz.superConstructor (this, org.xml.sax.SAXException, [message]); +this.exception = e; +}, "~S,Exception"); +Clazz.defineMethod (c$, "getMessage", +function () { +var message = Clazz.superCall (this, org.xml.sax.SAXException, "getMessage", []); +if (message == null && this.exception != null) { +return this.exception.getMessage (); +} else { +return message; +}}); +Clazz.defineMethod (c$, "getException", +function () { +return this.exception; +}); +Clazz.defineMethod (c$, "toString", +function () { +if (this.exception != null) { +return this.exception.toString (); +} else { +return Clazz.superCall (this, org.xml.sax.SAXException, "toString", []); +}}); +});