public class MissingFormatWidthException extends IllegalFormatException
Formatter
does not include a width for a value where one is required.Constructor and Description |
---|
MissingFormatWidthException(String s)
Constructs a new
MissingFormatWidthException
for a format specification, s , which excludes
a required width argument. |
Modifier and Type | Method and Description |
---|---|
String |
getFormatSpecifier()
Returns the format specification.
|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public MissingFormatWidthException(String s)
MissingFormatWidthException
for a format specification, s
, which excludes
a required width argument.s
- the format specification.NullPointerException
- if s
is null.public String getFormatSpecifier()