Top Description Fields Constructors Methods
java.util

public non-sealed Class IllegalFormatCodePointException

extends IllegalFormatException
Class Inheritance

Unchecked exception thrown when a character with an invalid Unicode code point as defined by Character#isValidCodePoint is passed to the Formatter.

Unless otherwise specified, passing a null argument to any method or constructor in this class will cause a NullPointerException to be thrown.

Since
1.5

Field Summary

Modifier and TypeField and Description
private int
c

private static final long

Constructor Summary

AccessConstructor and Description
public
IllegalFormatCodePointException(int
The illegal Unicode code point
c
)

Constructs an instance of this class with the specified illegal code point as defined by Character#isValidCodePoint.

Method Summary

Modifier and TypeMethod and Description
public int

Returns:

The illegal Unicode code point
getCodePoint
()

Returns the illegal code point as defined by Character#isValidCodePoint.

public String
getMessage()

Overrides java.lang.Throwable.getMessage.

Returns the detail message string of this throwable.

Field Detail

cback to summary
private int c
serialVersionUIDback to summary
private static final long serialVersionUID

Hides java.util.IllegalFormatException.serialVersionUID.

Annotations
@Serial

Constructor Detail

IllegalFormatCodePointExceptionback to summary
public IllegalFormatCodePointException(int c)

Constructs an instance of this class with the specified illegal code point as defined by Character#isValidCodePoint.

Parameters
c:int

The illegal Unicode code point

Method Detail

getCodePointback to summary
public int getCodePoint()

Returns the illegal code point as defined by Character#isValidCodePoint.

Returns:int

The illegal Unicode code point

getMessageback to summary
public String getMessage()

Overrides java.lang.Throwable.getMessage.

Doc from java.lang.Throwable.getMessage.

Returns the detail message string of this throwable.

Returns:String

the detail message string of this Throwable instance (which may be null).