public class MissingFormatWidthException extends IllegalFormatException
除非另有规定,通过null争论在这个类中的任何方法或构造函数会导致NullPointerException
被。
Constructor and Description |
---|
MissingFormatWidthException(String s)
构建该类的一个实例与指定的格式说明符。
|
Modifier and Type | Method and Description |
---|---|
String |
getFormatSpecifier()
返回格式说明符没有宽度。
|
String |
getMessage()
返回该错误的详细信息的字符串。
|
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.