public class IllegalFormatCodePointException extends IllegalFormatException
Formatter
receives a character with an
invalid Unicode codepoint, as defined by
Character.isValidCodePoint(int)
.Constructor and Description |
---|
IllegalFormatCodePointException(int c)
Constructs a new
IllegalFormatCodePointException
which specifies that the character, c , passed to
a Formatter is an invalid Unicode code point. |
Modifier and Type | Method and Description |
---|---|
int |
getCodePoint()
Returns the invalid character.
|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public IllegalFormatCodePointException(int c)
IllegalFormatCodePointException
which specifies that the character, c
, passed to
a Formatter
is an invalid Unicode code point.c
- the invalid character.public int getCodePoint()