1 7 8 package java.util; 9 10 22 public class IllegalFormatCodePointException extends IllegalFormatException { 23 24 private static final long serialVersionUID = 19080630L; 25 26 private int c; 27 28 35 public IllegalFormatCodePointException(int c) { 36 this.c = c; 37 } 38 39 45 public int getCodePoint() { 46 return c; 47 } 48 49 public String getMessage() { 50 51 return String.format("Code point = %c", c); 52 } 53 } 54 | Popular Tags |