File size: 605 Bytes
233f6d4 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | Clazz.load(["java.util.IllegalFormatException"],"java.util.IllegalFormatCodePointException",null,function(){
c$=Clazz.decorateAsClass(function(){
this.c=0;
Clazz.instantialize(this,arguments);
},java.util,"IllegalFormatCodePointException",java.util.IllegalFormatException,java.io.Serializable);
Clazz.makeConstructor(c$,
function(c){
Clazz.superConstructor(this,java.util.IllegalFormatCodePointException,[]);
this.c=c;
},"~N");
Clazz.defineMethod(c$,"getCodePoint",
function(){
return this.c;
});
Clazz.overrideMethod(c$,"getMessage",
function(){
return"Code point is "+this.c;
});
});
|