IllegalFormatPrecisionExceptionpublic class IllegalFormatPrecisionException extends IllegalFormatException Unchecked exception thrown when the precision is a negative value other than
-1, the conversion does not support a precision, or the value is
otherwise unsupported. |
Fields Summary |
---|
private static final long | serialVersionUID | private int | p |
Constructors Summary |
---|
public IllegalFormatPrecisionException(int p)Constructs an instance of this class with the specified precision.
this.p = p;
|
Methods Summary |
---|
public java.lang.String | getMessage()
return Integer.toString(p);
| public int | getPrecision()Returns the precision
return p;
|
|