java.lang.Object java.lang.Throwable java.lang.Exception java.lang.RuntimeException java.lang.IllegalArgumentException java.util.IllegalFormatException java.util.IllegalFormatPrecisionException
public class IllegalFormatPrecisionException
Unchecked exception thrown when the precision is
a
negative
value other than
-1
,
or
the conversion does not support a
precision, or the value is otherwise unsupported.
precision.
Constructor Summary | |
---|---|
IllegalFormatPrecisionException
(int p) Constructs an instance of this class with the specified precision. |
Method Summary | |
---|---|
String |
getMessage
() Returns the detail message string of this throwable. |
int |
getPrecision
() Returns the precision |
Methods inherited from class java.lang. Throwable |
---|
fillInStackTrace , getCause , getLocalizedMessage , getStackTrace , initCause , printStackTrace , printStackTrace , printStackTrace , setStackTrace , toString |
Methods inherited from class java.lang. Object |
---|
clone , equals , finalize , getClass , hashCode , notify , notifyAll , wait , wait , wait |
Constructor Detail |
---|
public IllegalFormatPrecisionException(int p)
Method Detail |
---|
public int getPrecision()
public String getMessage()