public class IllegalFormatCodePointException extends IllegalFormatException implements Serializable
IllegalFormatCodePointException will be thrown if an invalid
Unicode code point (defined by Character.isValidCodePoint(int)) is
passed as a parameter to a Formatter.RuntimeException,
Serialized Form| Constructor and Description |
|---|
IllegalFormatCodePointException(int c)
Constructs a new
IllegalFormatCodePointException which is
specified by the invalid Unicode code point. |
| Modifier and Type | Method and Description |
|---|---|
int |
getCodePoint()
Returns the invalid Unicode code point.
|
String |
getMessage()
Returns the detail message which was provided when this
Throwable was created. |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic IllegalFormatCodePointException(int c)
IllegalFormatCodePointException which is
specified by the invalid Unicode code point.c - the invalid Unicode code point.public int getCodePoint()
public String getMessage()
ThrowableThrowable was created. Returns null if no message was
provided at creation time.getMessage in class Throwable