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