java.util

Class IllegalFormatCodePointException

public class IllegalFormatCodePointException extends IllegalFormatException

Thrown when a {@link Formatter} receives a character with an invalid Unicode codepoint, as defined by {@link Character#isValidCodePoint(int)}.

Since: 1.5

Constructor Summary
IllegalFormatCodePointException(int c)
Constructs a new IllegalFormatCodePointException which specifies that the character, c, passed to a {@link Formatter} is an invalid Unicode code point.
Method Summary
intgetCodePoint()
Returns the invalid character.

Constructor Detail

IllegalFormatCodePointException

public IllegalFormatCodePointException(int c)
Constructs a new IllegalFormatCodePointException which specifies that the character, c, passed to a {@link Formatter} is an invalid Unicode code point.

Parameters: c the invalid character.

Method Detail

getCodePoint

public int getCodePoint()
Returns the invalid character.

Returns: the invalid character.