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