java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.lang.IllegalArgumentException
java.util.IllegalFormatException
java.util.IllegalFormatCodePointException
public class IllegalFormatCodePointException
将具有 Character.isValidCodePoint(int) 所定义的无效 Unicode 代码点的字符传递给 Formatter 时,抛出未经检查的异常。
除非另行指定,否则将 null 参数传递给此类中的任何方法或构造方法都会抛出 NullPointerException。
| 构造方法摘要 | |
|---|---|
IllegalFormatCodePointException(int c) 构造此类的实例,使其具有 Character.isValidCodePoint(int) 所定义的指定非法代码点。 |
|
| 方法摘要 | |
|---|---|
int |
getCodePoint() 返回 Character.isValidCodePoint(int) 所定义的非法代码点。 |
String |
getMessage() 返回此 throwable 的详细消息字符串。 |
| 从类 java.lang.Throwable 继承的方法 |
|---|
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| 从类 java.lang.Object 继承的方法 |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| 构造方法详细信息 |
|---|
public IllegalFormatCodePointException(int c)
Character.isValidCodePoint(int) 所定义的指定非法代码点。
c - 非法 Unicode 代码点。
| 方法详细信息 |
|---|
public int getCodePoint()
Character.isValidCodePoint(int) 所定义的非法代码点。
public String getMessage()
Throwable 复制的描述
Throwable 中的
getMessage