1 9 10 package j2me.util; 11 12 public class IllegalFormatConversionException extends IllegalFormatException { 13 private char c; 14 15 private Class arg; 16 17 public IllegalFormatConversionException(char c, Class arg) { 18 if (arg == null) 19 throw new NullPointerException (); 20 this.c = c; 21 this.arg = arg; 22 } 23 24 public char getConversion() { 25 return c; 26 } 27 28 public Class getArgumentClass() { 29 return arg; 30 } 31 32 } | Popular Tags |