1 7 8 package java.util; 9 10 18 public class IllegalFormatPrecisionException extends IllegalFormatException { 19 20 private static final long serialVersionUID = 18711008L; 21 22 private int p; 23 24 30 public IllegalFormatPrecisionException(int p) { 31 this.p = p; 32 } 33 34 39 public int getPrecision() { 40 return p; 41 } 42 43 public String getMessage() { 44 return Integer.toString(p); 45 } 46 } 47 | Popular Tags |