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. |
java.lang.String |
getMessage()
Return the message string of the IllegalFormatCodePointException. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
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 java.lang.String getMessage()
- Return the message string of the IllegalFormatCodePointException.
- Overrides:
getMessage
in class Throwable
- Returns:
- the detail message string of this Throwable instance
(which may be null).