X-Git-Url: http://source.jalview.org/gitweb/?p=jalviewjs.git;a=blobdiff_plain;f=site%2Fj2s%2Fjava%2Flang%2Freflect%2FInvocationTargetException.js;fp=site%2Fj2s%2Fjava%2Flang%2Freflect%2FInvocationTargetException.js;h=db3693f264be32324aafa2580c444ce6dffd698c;hp=ebfe42ae63864def1f3d6ccf28ddcf9e772aef9b;hb=b9b7a352eee79b7764c3b09c9d19663075061d8c;hpb=7301a2415adab88038b291fc54caeeb3a5a47a44 diff --git a/site/j2s/java/lang/reflect/InvocationTargetException.js b/site/j2s/java/lang/reflect/InvocationTargetException.js index ebfe42a..db3693f 100644 --- a/site/j2s/java/lang/reflect/InvocationTargetException.js +++ b/site/j2s/java/lang/reflect/InvocationTargetException.js @@ -1,28 +1,28 @@ -Clazz.load(["java.lang.Exception"],"java.lang.reflect.InvocationTargetException",null,function(){ -c$=Clazz.decorateAsClass(function(){ -this.target=null; -Clazz.instantialize(this,arguments); -},java.lang.reflect,"InvocationTargetException",Exception); -Clazz.makeConstructor(c$, -function(){ -Clazz.superConstructor(this,java.lang.reflect.InvocationTargetException,[Clazz.castNullAs("Throwable")]); -}); -Clazz.makeConstructor(c$, -function(exception){ -Clazz.superConstructor(this,java.lang.reflect.InvocationTargetException,[null,exception]); -this.target=exception; -},"Throwable"); -Clazz.makeConstructor(c$, -function(exception,detailMessage){ -Clazz.superConstructor(this,java.lang.reflect.InvocationTargetException,[detailMessage,exception]); -this.target=exception; -},"Throwable,~S"); -Clazz.defineMethod(c$,"getTargetException", -function(){ -return this.target; -}); -Clazz.overrideMethod(c$,"getCause", -function(){ -return this.target; -}); -}); +Clazz.load(["java.lang.Exception"],"java.lang.reflect.InvocationTargetException",null,function(){ +c$=Clazz.decorateAsClass(function(){ +this.target=null; +Clazz.instantialize(this,arguments); +},java.lang.reflect,"InvocationTargetException",Exception); +Clazz.makeConstructor(c$, +function(){ +Clazz.superConstructor(this,java.lang.reflect.InvocationTargetException,[Clazz.castNullAs("Throwable")]); +}); +Clazz.makeConstructor(c$, +function(exception){ +Clazz.superConstructor(this,java.lang.reflect.InvocationTargetException,[null,exception]); +this.target=exception; +},"Throwable"); +Clazz.makeConstructor(c$, +function(exception,detailMessage){ +Clazz.superConstructor(this,java.lang.reflect.InvocationTargetException,[detailMessage,exception]); +this.target=exception; +},"Throwable,~S"); +Clazz.defineMethod(c$,"getTargetException", +function(){ +return this.target; +}); +Clazz.overrideMethod(c$,"getCause", +function(){ +return this.target; +}); +});