2b741b1b48b027d98152a7165acb039c18746844
[jalviewjs.git] / site / j2s / java / lang / ExceptionInInitializerError.js
1 Clazz.load(["java.lang.LinkageError"],"java.lang.ExceptionInInitializerError",null,function(){\r
2 c$=Clazz.decorateAsClass(function(){\r
3 this.exception=null;\r
4 Clazz.instantialize(this,arguments);\r
5 },java.lang,"ExceptionInInitializerError",LinkageError);\r
6 Clazz.makeConstructor(c$,\r
7 function(){\r
8 Clazz.superConstructor(this,ExceptionInInitializerError);\r
9 this.initCause(null);\r
10 });\r
11 Clazz.makeConstructor(c$,\r
12 function(detailMessage){\r
13 Clazz.superConstructor(this,ExceptionInInitializerError,[detailMessage]);\r
14 this.initCause(null);\r
15 },"~S");\r
16 Clazz.makeConstructor(c$,\r
17 function(exception){\r
18 Clazz.superConstructor(this,ExceptionInInitializerError);\r
19 this.exception=exception;\r
20 this.initCause(exception);\r
21 },"Throwable");\r
22 Clazz.defineMethod(c$,"getException",\r
23 function(){\r
24 return this.exception;\r
25 });\r
26 Clazz.overrideMethod(c$,"getCause",\r
27 function(){\r
28 return this.exception;\r
29 });\r
30 });\r