Serializablepublic 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.
| 构造器 | 说明 |
|---|---|
FormatFlagsConversionMismatchException(String f,
char c) |
Constructs an instance of this class with the specified flag
and conversion.
|
| 限定符和类型 | 方法 | 说明 |
|---|---|---|
char |
getConversion() |
Returns the incompatible conversion.
|
String |
getFlags() |
Returns the incompatible flag.
|
String |
getMessage() |
Returns the detail message string of this throwable.
|
public FormatFlagsConversionMismatchException(String f, char c)
f - The flagc - The conversionpublic String getFlags()
public char getConversion()
public String getMessage()
ThrowablegetMessage 在类中 ThrowableThrowable instance
(which may be null).