1 Clazz.load(["java.lang.RuntimeException"],"java.lang.reflect.UndeclaredThrowableException",null,function(){
2 c$=Clazz.decorateAsClass(function(){
3 this.undeclaredThrowable=null;
4 Clazz.instantialize(this,arguments);
5 },java.lang.reflect,"UndeclaredThrowableException",RuntimeException);
6 Clazz.makeConstructor(c$,
8 Clazz.superConstructor(this,java.lang.reflect.UndeclaredThrowableException);
9 this.undeclaredThrowable=exception;
10 this.initCause(exception);
12 Clazz.makeConstructor(c$,
13 function(exception,detailMessage){
14 Clazz.superConstructor(this,java.lang.reflect.UndeclaredThrowableException,[detailMessage]);
15 this.undeclaredThrowable=exception;
16 this.initCause(exception);
18 Clazz.defineMethod(c$,"getUndeclaredThrowable",
20 return this.undeclaredThrowable;
22 Clazz.overrideMethod(c$,"getCause",
24 return this.undeclaredThrowable;