public class IllegalFormatCodePointException extends IllegalFormatException
Character.isValidCodePoint(int) 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.
| Constructor and Description |
|---|
IllegalFormatCodePointException(int c)
Constructs an instance of this class with the specified illegal code point as defined by
Character.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getCodePoint()
Returns the illegal code point as defined by
Character.
|
String |
getMessage()
Returns the detail message string of this throwable.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic IllegalFormatCodePointException(int c)
Character.isValidCodePoint(int) .
c - The illegal Unicode code point
public int getCodePoint()
Character.isValidCodePoint(int) .
public StringgetMessage()
Throwable
getMessage in class
Throwable
Throwable instance (which may be
null).