java.util
Class IllegalFormatCodePointException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by java.lang.IllegalArgumentException
                  extended by java.util.IllegalFormatException
                      extended by java.util.IllegalFormatCodePointException
All Implemented Interfaces:
Serializable

public class IllegalFormatCodePointException
extends IllegalFormatException

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

Since:
1.5
See Also:
Serialized Form

Constructor Summary
IllegalFormatCodePointException(int c)
          Constructs a new IllegalFormatCodePointException which specifies that the character, c, passed to a Formatter is an invalid Unicode code point.
 
Method Summary
 int getCodePoint()
          Returns the invalid character.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

IllegalFormatCodePointException

public IllegalFormatCodePointException(int c)
Constructs a new IllegalFormatCodePointException which specifies that the character, c, passed to a 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.