Serializablepublic class IllegalFormatCodePointException extends IllegalFormatException
Character#isValidCodePoint is passed to the
Formatter.
Unless otherwise specified, passing a null argument to any
method or constructor in this class will cause a NullPointerException to be thrown.
| 构造器 | 说明 |
|---|---|
IllegalFormatCodePointException(int c) |
Constructs an instance of this class with the specified illegal code
point as defined by
Character#isValidCodePoint. |
| 限定符和类型 | 方法 | 说明 |
|---|---|---|
int |
getCodePoint() |
Returns the illegal code point as defined by
Character#isValidCodePoint. |
String |
getMessage() |
Returns the detail message string of this throwable.
|
public IllegalFormatCodePointException(int c)
Character#isValidCodePoint.c - The illegal Unicode code pointpublic int getCodePoint()
Character#isValidCodePoint.public String getMessage()
ThrowablegetMessage 在类中 ThrowableThrowable instance
(which may be null).