X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=site%2Fj2s%2Fjava%2Flang%2FTypeNotPresentException.js;fp=site%2Fj2s%2Fjava%2Flang%2FTypeNotPresentException.js;h=19ad7a973b2519acb4b3d6ec2e6e2f85983e7183;hb=4231d40261fef32ce4570a6bbad0d35df44e8baf;hp=0000000000000000000000000000000000000000;hpb=c07eb2c5794833bd0241000d6844d783fe10cb82;p=jalview.git diff --git a/site/j2s/java/lang/TypeNotPresentException.js b/site/j2s/java/lang/TypeNotPresentException.js new file mode 100644 index 0000000..19ad7a9 --- /dev/null +++ b/site/j2s/java/lang/TypeNotPresentException.js @@ -0,0 +1,15 @@ +Clazz.load(["java.lang.RuntimeException"],"java.lang.TypeNotPresentException",null,function(){ +c$=Clazz.decorateAsClass(function(){ +this.$typeName=null; +Clazz.instantialize(this,arguments); +},java.lang,"TypeNotPresentException",RuntimeException); +Clazz.makeConstructor(c$, +function(typeName,cause){ +Clazz.superConstructor(this,TypeNotPresentException,["Type "+typeName+" not present",cause]); +this.$typeName=typeName; +},"~S,Throwable"); +Clazz.defineMethod(c$,"typeName", +function(){ +return this.$typeName; +}); +});