1 7 8 package java.util; 9 10 20 public class MissingFormatWidthException extends IllegalFormatException { 21 22 private static final long serialVersionUID = 15560123L; 23 24 private String s; 25 26 33 public MissingFormatWidthException(String s) { 34 if (s == null) 35 throw new NullPointerException (); 36 this.s = s; 37 } 38 39 44 public String getFormatSpecifier() { 45 return s; 46 } 47 48 public String getMessage() { 49 return s; 50 } 51 } 52 | Popular Tags |