public class MissingFormatWidthException extends IllegalFormatException
MissingFormatWidthException
will be thrown if the format width is
missing but is required.RuntimeException
,
Serialized FormConstructor 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 extra information message which was provided when this
Throwable was created. |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public MissingFormatWidthException(String s)
MissingFormatWidthException
with the specified
format specifier.s
- the specified format specifier.public String getFormatSpecifier()
public String getMessage()
Throwable
Throwable
was created. Returns null
if no message was
provided at creation time.getMessage
in class Throwable
Throwable
's detail message.