public class IllegalFormatCodePointException
extends IllegalFormatException
java.lang.Object | ||||||
java.lang.Throwable | ||||||
java.lang.Exception | ||||||
java.lang.RuntimeException | ||||||
java.lang.IllegalArgumentException | ||||||
java.util.IllegalFormatException | ||||||
java.util.IllegalFormatCodePointException |
将具有 isValidCodePoint(int)
定义的Unicode代码点无效的字符传递给 Formatter
时引发的未检查异常。
除非另有说明,否则将 null参数传递给 此类中的任何方法或构造函数将导致引发 NullPointerException
。
Public constructors |
|
---|---|
IllegalFormatCodePointException(int c) 使用 |
公共方法(Public methods) |
|
---|---|
int |
getCodePoint() 返回 |
String |
getMessage() 返回此throwable的详细消息字符串。 |
继承方法(Inherited methods) |
|
---|---|
![]() java.lang.Throwable
|
|
![]() java.lang.Object
|
IllegalFormatCodePointException (int c)
使用 isValidCodePoint(int)
定义的指定的非法代码点构造此类的实例。
参数(Parameters) | |
---|---|
c |
int : The illegal Unicode code point |
int getCodePoint ()
返回 isValidCodePoint(int)
定义的非法代码点。
返回(Returns) | |
---|---|
int |
The illegal Unicode code point |
String getMessage ()
返回此throwable的详细消息字符串。
返回(Returns) | |
---|---|
String |
the detail message string of this Throwable instance (which may be null ). |