public class MissingFormatWidthException extends IllegalFormatException
除非另有说明,否则传递null参数到此类中的任何方法或构造函数将导致NullPointerException
被抛出。
Constructor and Description |
---|
MissingFormatWidthException(String s)
使用指定的格式说明符构造此类的实例。
|
Modifier and Type | Method and Description |
---|---|
String |
getFormatSpecifier()
返回没有宽度的格式说明符。
|
String |
getMessage()
返回此throwable的详细消息字符串。
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public MissingFormatWidthException(String s)
s
- 没有宽度的格式说明符
public String getFormatSpecifier()
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.