FileDocCategorySizeDatePackage
IllegalFormatCodePointException.javaAPI DocJava SE 5 API1376Fri Aug 26 14:57:22 BST 2005java.util

IllegalFormatCodePointException

public class IllegalFormatCodePointException extends IllegalFormatException
Unchecked exception thrown when a character with an invalid Unicode code point as defined by {@link Character#isValidCodePoint} is passed to the {@link Formatter}.

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

version
1.2, 12/19/03
since
1.5

Fields Summary
private static final long
serialVersionUID
private int
c
Constructors Summary
public IllegalFormatCodePointException(int c)
Constructs an instance of this class with the specified illegal code point as defined by {@link Character#isValidCodePoint}.

param
c The illegal Unicode code point


                                          
       
	this.c = c;
    
Methods Summary
public intgetCodePoint()
Returns the illegal code point as defined by {@link Character#isValidCodePoint}.

return
The illegal Unicode code point

	return c;
    
public java.lang.StringgetMessage()


	return String.format("Code point = %c", c);