java.util.IllegalFormatPrecisionException
The unchecked exception will be thrown out when the precision is a negative
other than -1, or the conversion does not support a precision or other cases
when the precision is not supported.
Summary
Public Constructors
Public Methods
fillInStackTrace,
getCause,
getLocalizedMessage,
getMessage,
getStackTrace,
initCause,
printStackTrace,
printStackTrace,
printStackTrace,
setStackTrace,
toString
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait
Details
Public Constructors
public
IllegalFormatPrecisionException(int p)
Constructs a IllegalFormatPrecisionException with specified precision.
Public Methods
public
String
getMessage()
Returns the message of the exception.
Returns
- The message of the exception.
public
int
getPrecision()
Returns the precision associated with the exception.