Unchecked exception thrown when a character with an invalid Unicode code
point as defined by Character.isValidCodePoint(int)
is passed to the
Formatter
.
Unless otherwise specified, passing a null argument to any
method or constructor in this class will cause a NullPointerException
to be thrown.
Public Constructor Summary
IllegalFormatCodePointException(int c)
Constructs an instance of this class with the specified illegal code
point as defined by
Character.isValidCodePoint(int) . |
Public Method Summary
int |
getCodePoint()
Returns the illegal code point as defined by
Character.isValidCodePoint(int) . |
String |
getMessage()
Returns the detail message string of this throwable.
|
Inherited Method Summary
Public Constructors
public IllegalFormatCodePointException (int c)
Constructs an instance of this class with the specified illegal code
point as defined by Character.isValidCodePoint(int)
.
Parameters
c | The illegal Unicode code point |
---|
Public Methods
public int getCodePoint ()
Returns the illegal code point as defined by Character.isValidCodePoint(int)
.
Returns
- The illegal Unicode code point
public String getMessage ()
Returns the detail message string of this throwable.
Returns
- the detail message string of this
Throwable
instance (which may benull
).