public class FormatFlagsConversionMismatchException extends IllegalFormatException
Formatter#format()
method of a Formatter contains a flag that does not match
the conversion character specified for it.| Constructor and Description |
|---|
FormatFlagsConversionMismatchException(java.lang.String f,
char c)
Constructs a new
FormatFlagsConversionMismatchException
which specifies that the flag, f, does
not match its appropriate conversion character, c. |
| Modifier and Type | Method and Description |
|---|---|
char |
getConversion()
Returns the conversion character which doesn't
match the flag.
|
java.lang.String |
getFlags()
Returns the mismatching flag.
|
public FormatFlagsConversionMismatchException(java.lang.String f, char c)
FormatFlagsConversionMismatchException
which specifies that the flag, f, does
not match its appropriate conversion character, c.f - the mismatching flag.c - the conversion character which doesn't match its flag.java.lang.NullPointerException - if f is null.public char getConversion()
public java.lang.String getFlags()