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
- implements Serializable
The unchecked exception will be thrown out if an invalid Unicode code point,
which is Character.isValidCodePoint(int), is passed as a parameter to
Formatter.
- See Also:
- Serialized Form
|
Constructor Summary |
IllegalFormatCodePointException(int c)
Constructs an IllegalFormatCodePointException which is specified by the
invalid Unicode code point. |
|
Method Summary |
int |
getCodePoint()
Return the invalid Unicode code point. |
String |
getMessage()
Return the message string of the IllegalFormatCodePointException. |
IllegalFormatCodePointException
public IllegalFormatCodePointException(int c)
- Constructs an IllegalFormatCodePointException which is specified by the
invalid Unicode code point.
- Parameters:
c - The invalid Unicode code point.
getCodePoint
public int getCodePoint()
- Return the invalid Unicode code point.
- Returns:
- The invalid Unicode code point.
getMessage
public String getMessage()
- Return the message string of the IllegalFormatCodePointException.
- Overrides:
getMessage in class Throwable
- Returns:
- The message string of the IllegalFormatCodePointException.
Please submit a feedback, bug or feature