public class MissingFormatArgumentException extends IllegalFormatException
Formatter
refers to an argument that is non-existent, or an argument index
references a non-existent argument.Constructor and Description |
---|
MissingFormatArgumentException(String s)
Constructs a new
MissingFormatArgumentException
for a format specification, s , which refers
to a non-existent 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 MissingFormatArgumentException(String s)
MissingFormatArgumentException
for a format specification, s
, which refers
to a non-existent argument.s
- the format specification.NullPointerException
- if s
is null.public String getFormatSpecifier()