Exception: java.util.IllegalFormatPrecisionException
- public exception 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.
Inheritance
Superclass tree:- java.lang.Object
- java.lang.Throwable
- java.lang.Exception
- java.lang.RuntimeException
- java.lang.IllegalArgumentException
- java.util.IllegalFormatException
- java.util.IllegalFormatPrecisionException
Methods
-
IllegalFormatPrecisionExceptiontop
public IllegalFormatPrecisionException(int p)Constructs an instance of this class with the specified precision. -
getMessagetop
public String getMessage()Returns the detail message string of this throwable.- Override hierarchy:
- getMessage from Throwable
-
getPrecisiontop
public int getPrecision()Returns the precision
