Build 1.0_r1(from source)

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
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.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, 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 an IllegalFormatCodePointException which is specified by the invalid Unicode code point.

Parameters:
c - The invalid Unicode code point.
Method Detail

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.

Build 1.0_r1(from source)

Please submit a feedback, bug or feature