public class FormatFlagsConversionMismatchException extends IllegalFormatException
Unless otherwise specified, passing a null argument to any method or constructor in this class will cause a
NullPointerException
to be thrown.
Constructor and Description |
---|
FormatFlagsConversionMismatchException(java.lang.String f,
char c)
Constructs an instance of this class with the specified flag and conversion.
|
Modifier and Type | Method and Description |
---|---|
char |
getConversion()
Returns the incompatible conversion.
|
java.lang.String |
getFlags()
Returns the incompatible flag.
|
java.lang.String |
getMessage() |
public FormatFlagsConversionMismatchException(java.lang.String f, char c)
f
- The flagc
- The conversionpublic java.lang.String getFlags()
public char getConversion()
public java.lang.String getMessage()
getMessage
in class java.lang.Throwable