1 Clazz.declarePackage ("org.xml.sax");
2 Clazz.load (["org.xml.sax.SAXException"], "org.xml.sax.SAXParseException", null, function () {
3 c$ = Clazz.decorateAsClass (function () {
8 Clazz.instantialize (this, arguments);
9 }, org.xml.sax, "SAXParseException", org.xml.sax.SAXException);
10 Clazz.makeConstructor (c$,
11 function (message, locator) {
12 Clazz.superConstructor (this, org.xml.sax.SAXParseException, [message]);
13 if (locator != null) {
14 this.init (locator.getPublicId (), locator.getSystemId (), locator.getLineNumber (), locator.getColumnNumber ());
16 this.init (null, null, -1, -1);
17 }}, "~S,org.xml.sax.Locator");
18 Clazz.makeConstructor (c$,
19 function (message, locator, e) {
20 Clazz.superConstructor (this, org.xml.sax.SAXParseException, [message, e]);
21 if (locator != null) {
22 this.init (locator.getPublicId (), locator.getSystemId (), locator.getLineNumber (), locator.getColumnNumber ());
24 this.init (null, null, -1, -1);
25 }}, "~S,org.xml.sax.Locator,Exception");
26 Clazz.makeConstructor (c$,
27 function (message, publicId, systemId, lineNumber, columnNumber) {
28 Clazz.superConstructor (this, org.xml.sax.SAXParseException, [message]);
29 this.init (publicId, systemId, lineNumber, columnNumber);
31 Clazz.makeConstructor (c$,
32 function (message, publicId, systemId, lineNumber, columnNumber, e) {
33 Clazz.superConstructor (this, org.xml.sax.SAXParseException, [message, e]);
34 this.init (publicId, systemId, lineNumber, columnNumber);
35 }, "~S,~S,~S,~N,~N,Exception");
36 Clazz.defineMethod (c$, "init",
37 function (publicId, systemId, lineNumber, columnNumber) {
38 this.publicId = publicId;
39 this.systemId = systemId;
40 this.lineNumber = lineNumber;
41 this.columnNumber = columnNumber;
43 Clazz.defineMethod (c$, "getPublicId",
47 Clazz.defineMethod (c$, "getSystemId",
51 Clazz.defineMethod (c$, "getLineNumber",
53 return this.lineNumber;
55 Clazz.defineMethod (c$, "getColumnNumber",
57 return this.columnNumber;