File size: 833 Bytes
233f6d4 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 | Clazz.load(["java.util.IllegalFormatException"],"java.util.FormatFlagsConversionMismatchException",["java.lang.NullPointerException"],function(){
c$=Clazz.decorateAsClass(function(){
this.f=null;
this.c=0;
Clazz.instantialize(this,arguments);
},java.util,"FormatFlagsConversionMismatchException",java.util.IllegalFormatException,java.io.Serializable);
Clazz.makeConstructor(c$,
function(f,c){
Clazz.superConstructor(this,java.util.FormatFlagsConversionMismatchException,[]);
if(null==f){
throw new NullPointerException();
}this.f=f;
this.c=c;
},"~S,~N");
Clazz.defineMethod(c$,"getFlags",
function(){
return this.f;
});
Clazz.defineMethod(c$,"getConversion",
function(){
return this.c;
});
Clazz.overrideMethod(c$,"getMessage",
function(){
return"Mismatched Convertor ="+this.c+", Flags= "+this.f;
});
});
|