File size: 710 Bytes
233f6d4 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 | Clazz.load(["java.util.IllegalFormatException"],"java.util.DuplicateFormatFlagsException",["java.lang.NullPointerException"],function(){
c$=Clazz.decorateAsClass(function(){
this.flags=null;
Clazz.instantialize(this,arguments);
},java.util,"DuplicateFormatFlagsException",java.util.IllegalFormatException);
Clazz.makeConstructor(c$,
function(f){
Clazz.superConstructor(this,java.util.DuplicateFormatFlagsException,[]);
if(null==f){
throw new NullPointerException();
}this.flags=f;
},"~S");
Clazz.defineMethod(c$,"getFlags",
function(){
return this.flags;
});
Clazz.overrideMethod(c$,"getMessage",
function(){
return"Flags of the DuplicateFormatFlagsException is '"+this.flags+"'";
});
});
|