public class MissingFormatWidthException extends IllegalFormatException
MissingFormatWidthException will be thrown if the format width is
missing but is required.RuntimeException,
Serialized Form| Constructor and Description |
|---|
MissingFormatWidthException(String s)
Constructs a new
MissingFormatWidthException with the specified
format specifier. |
| Modifier and Type | Method and Description |
|---|---|
String |
getFormatSpecifier()
Returns the format specifier 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 MissingFormatWidthException(String s)
MissingFormatWidthException with the specified
format specifier.s - the specified format specifier.public String getFormatSpecifier()
public String getMessage()
ThrowableThrowable was created. Returns null if no message was
provided at creation time.getMessage in class Throwable