Android APIs
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

An IllegalFormatCodePointException will be thrown if an invalid Unicode code point (defined by isValidCodePoint(int)) is passed as a parameter to a Formatter.

See Also

Summary

Public Constructors
IllegalFormatCodePointException(int c)
Constructs a new IllegalFormatCodePointException which is specified by the invalid Unicode code point.
Public Methods
int getCodePoint()
Returns the invalid Unicode code point.
String getMessage()
Returns the detail message which was provided when this Throwable was created.
[Expand]
Inherited Methods
From class java.lang.Throwable
From class java.lang.Object

Public Constructors

public IllegalFormatCodePointException (int c)

Added in API level 1

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

Parameters
c the invalid Unicode code point.

Public Methods

public int getCodePoint ()

Added in API level 1

Returns the invalid Unicode code point.

Returns
  • the invalid Unicode code point.

public String getMessage ()

Added in API level 1

Returns the detail message which was provided when this Throwable was created. Returns null if no message was provided at creation time.