public 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.
Public Constructor Summary
IllegalFormatPrecisionException(int p)
Constructs an instance of this class with the specified precision.
|
Public Method Summary
String |
getMessage()
Returns the detail message string of this throwable.
|
int |
getPrecision()
Returns the precision
|
Inherited Method Summary
Public Constructors
public IllegalFormatPrecisionException (int p)
Constructs an instance of this class with the specified precision.
Parameters
p | The precision |
---|
Public Methods
public String getMessage ()
Returns the detail message string of this throwable.
Returns
- the detail message string of this
Throwable
instance (which may benull
).
public int getPrecision ()
Returns the precision
Returns
- The precision