加载中...
The Wayback Machine - https://sup1a9wrlpyh5li9ro.vcoronado.top/web/20090425213622/http://developer.android.com:80/reference/java/util/IllegalFormatCodePointException.html
public class

IllegalFormatCodePointException

extends IllegalFormatException
implements Serializable
java.lang.Object
   ↳ java.lang.Throwable
     ↳ java.lang.Exception
       ↳ java.lang.RuntimeException
         ↳ java.lang.IllegalArgumentException
           ↳ java.util.IllegalFormatException
             ↳ java.util.IllegalFormatCodePointException

Class Overview

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.
[Expand]
Inherited Methods
From class java.lang.Throwable
From class java.lang.Object

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.