java.util
Class IllegalFormatCodePointException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.lang.IllegalArgumentException
java.util.IllegalFormatException
java.util.IllegalFormatCodePointException
- All Implemented Interfaces:
- Serializable
public class IllegalFormatCodePointException
- extends IllegalFormatException
Thrown when a Formatter
receives a character with an
invalid Unicode codepoint, as defined by
Character.isValidCodePoint(int)
.
- Since:
- 1.5
- See Also:
- Serialized Form
Constructor Summary |
IllegalFormatCodePointException(int c)
Constructs a new IllegalFormatCodePointException
which specifies that the character, c , passed to
a Formatter is an invalid Unicode code point. |
Method Summary |
int |
getCodePoint()
Returns the invalid character. |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
IllegalFormatCodePointException
public IllegalFormatCodePointException(int c)
- Constructs a new
IllegalFormatCodePointException
which specifies that the character, c
, passed to
a Formatter
is an invalid Unicode code point.
- Parameters:
c
- the invalid character.
getCodePoint
public int getCodePoint()
- Returns the invalid character.
- Returns:
- the invalid character.