public class FormatFlagsConversionMismatchException extends IllegalFormatException implements Serializable
FormatFlagsConversionMismatchException will be thrown if a
conversion and the flags are incompatible.RuntimeException,
Serialized Form| Constructor and Description |
|---|
FormatFlagsConversionMismatchException(String f,
char c)
Constructs a new
FormatFlagsConversionMismatchException with the
flags and conversion specified. |
| Modifier and Type | Method and Description |
|---|---|
char |
getConversion()
Returns the incompatible conversion.
|
String |
getFlags()
Returns the incompatible format flag.
|
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 FormatFlagsConversionMismatchException(String f, char c)
FormatFlagsConversionMismatchException with the
flags and conversion specified.f - the flags.c - the conversion.public String getFlags()
public char getConversion()
public String getMessage()
ThrowableThrowable was created. Returns null if no message was
provided at creation time.getMessage in class Throwable