41 |
/** @since 1.5 */ |
/** @since 1.5 */ |
42 |
public class IllegalFormatPrecisionException extends IllegalFormatException |
public class IllegalFormatPrecisionException extends IllegalFormatException |
43 |
{ |
{ |
44 |
private int precision; |
private static final long serialVersionUID = 18711008L; |
45 |
|
|
46 |
public IllegalFormatPrecisionException(int precision) |
// Note: name fixed by serialization. |
47 |
|
private int p; |
48 |
|
|
49 |
|
public IllegalFormatPrecisionException(int p) |
50 |
{ |
{ |
51 |
super(); |
super(); |
52 |
this.precision = precision; |
this.p = p; |
53 |
} |
} |
54 |
|
|
55 |
public int getPrecision() |
public int getPrecision() |
56 |
{ |
{ |
57 |
return precision; |
return p; |
58 |
} |
} |
59 |
} |
} |