public class FormatFlagsConversionMismatchException extends IllegalFormatException
除非另有说明,否则将NullPointerException
参数传递给此类中的任何方法或构造函数将导致抛出NullPointerException
。
Constructor and Description |
---|
FormatFlagsConversionMismatchException(String f, char c)
使用指定的标志和转换构造此类的实例。
|
Modifier and Type | Method and Description |
---|---|
char |
getConversion()
返回不兼容的转换。
|
String |
getFlags()
返回不兼容的标志。
|
String |
getMessage()
返回此throwable的详细消息字符串。
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public FormatFlagsConversionMismatchException(String f, char c)
f
- 国旗
c
- 转换
public String getFlags()
public char getConversion()
public String getMessage()
Throwable
getMessage
在类别
Throwable
Throwable
instance (which may be
null
).
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.