public class IllegalFormatCodePointException extends IllegalFormatException
Character.isValidCodePoint(int)
特征传递给
Formatter
。
除非另有规定,通过null争论在这个类中的任何方法或构造函数会导致NullPointerException
被。
Constructor and Description |
---|
IllegalFormatCodePointException(int c)
构建该类的一个实例与指定的非法代码点所定义的
Character.isValidCodePoint(int) 。
|
Modifier and Type | Method and Description |
---|---|
int |
getCodePoint()
返回非法代码点所定义的
Character.isValidCodePoint(int) 。
|
String |
getMessage()
返回该错误的详细信息的字符串。
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public IllegalFormatCodePointException(int c)
Character.isValidCodePoint(int)
。
c
-非法Unicode代码点
public int getCodePoint()
Character.isValidCodePoint(int)
。
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.