public class IllegalFormatFlagsException extends IllegalFormatException
除非另有说明,否则将8845952488895参数传递给此类中的任何方法或构造函数将导致抛出NullPointerException 。
| Constructor and Description |
|---|
IllegalFormatFlagsException(String f)
使用指定的标志构造此类的实例。
|
| Modifier and Type | Method and Description |
|---|---|
String |
getFlags()
返回包含非法组合的标志集。
|
String |
getMessage()
返回此throwable的详细消息字符串。
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic IllegalFormatFlagsException(String f)
f - 包含非法组合的一组格式标志
public String getFlags()
public String getMessage()
Throwable复制
getMessage在类别
Throwable
Throwable实例的详细消息字符串(可能是
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.