Android
java.util
public class

java.util.IllegalFormatCodePointException

java.lang.Object
java.lang.Throwable Serializable
java.lang.Exception
java.lang.RuntimeException
java.lang.IllegalArgumentException
java.util.IllegalFormatException Serializable
java.util.IllegalFormatCodePointException 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.

Summary

Public Constructors

            IllegalFormatCodePointException(int c)
Constructs an IllegalFormatCodePointException which is specified by the invalid Unicode code point.

Public Methods

          int  getCodePoint()
Return the invalid Unicode code point.
          String  getMessage()
Return the message string of the IllegalFormatCodePointException.
Methods inherited from class java.lang.Throwable
Methods inherited from class java.lang.Object

Details

Public Constructors

public IllegalFormatCodePointException(int c)

Constructs an IllegalFormatCodePointException which is specified by the invalid Unicode code point.

Parameters

c The invalid Unicode code point.

Public Methods

public int getCodePoint()

Return the invalid Unicode code point.

Returns

  • The invalid Unicode code point.

public String getMessage()

Return the message string of the IllegalFormatCodePointException.

Returns

  • The message string of the IllegalFormatCodePointException.
Copyright 2007 Google Inc. Build 0.9_r1-98467 - 14 Aug 2008 18:56