is new.
java.lang.Objectjava.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 negative or the conversion does not support a precision.
Unless otherwise specified, passing a
null
argument to any method or constructor in this class will cause a
NullPointerException
to be thrown.
| 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)
(Integerp)
| Method Detail |
|---|
public int
publicIntegergetPrecision()
public String getMessage()