public class MissingFormatArgumentException extends IllegalFormatException
MissingFormatArgumentException will be thrown if there is no
corresponding argument with the specified conversion or an argument index
that refers to a missing argument.RuntimeException,
Serialized Form| Constructor and Description |
|---|
MissingFormatArgumentException(String s)
Constructs a new
MissingFormatArgumentException with the
specified conversion that lacks the argument. |
| Modifier and Type | Method and Description |
|---|---|
String |
getFormatSpecifier()
Returns the conversion associated with the exception.
|
String |
getMessage()
Returns the detail message which was provided when this
Throwable was created. |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic MissingFormatArgumentException(String s)
MissingFormatArgumentException with the
specified conversion that lacks the argument.s - the specified conversion that lacks the argument.public String getFormatSpecifier()
public String getMessage()
ThrowableThrowable was created. Returns null if no message was
provided at creation time.getMessage in class Throwable