1 7 8 package java.util; 9 10 20 public class IllegalFormatFlagsException extends IllegalFormatException { 21 22 private static final long serialVersionUID = 790824L; 23 24 private String flags; 25 26 32 public IllegalFormatFlagsException(String f) { 33 if (f == null) 34 throw new NullPointerException (); 35 this.flags = f; 36 } 37 38 43 public String getFlags() { 44 return flags; 45 } 46 47 public String getMessage() { 48 return "Flags = '" + flags + "'"; 49 } 50 } 51 | Popular Tags |