1 7 8 package java.util; 9 10 17 public class IllegalFormatWidthException extends IllegalFormatException { 18 19 private static final long serialVersionUID = 16660902L; 20 21 private int w; 22 23 29 public IllegalFormatWidthException(int w) { 30 this.w = w; 31 } 32 33 38 public int getWidth() { 39 return w; 40 } 41 42 public String getMessage() { 43 return Integer.toString(w); 44 } 45 } 46 | Popular Tags |