JAL-1807 Bob's JalviewJS prototype first commit
[jalviewjs.git] / site / j2s / java / lang / TypeNotPresentException.js
1 Clazz.load(["java.lang.RuntimeException"],"java.lang.TypeNotPresentException",null,function(){\r
2 c$=Clazz.decorateAsClass(function(){\r
3 this.$typeName=null;\r
4 Clazz.instantialize(this,arguments);\r
5 },java.lang,"TypeNotPresentException",RuntimeException);\r
6 Clazz.makeConstructor(c$,\r
7 function(typeName,cause){\r
8 Clazz.superConstructor(this,TypeNotPresentException,["Type "+typeName+" not present",cause]);\r
9 this.$typeName=typeName;\r
10 },"~S,Throwable");\r
11 Clazz.defineMethod(c$,"typeName",\r
12 function(){\r
13 return this.$typeName;\r
14 });\r
15 });\r