Name

IllegalFormatException

Synopsis

An exception of this type is thrown by a Formatter when there is problem with the format string. This package defines many subclasses of this exception type to describe particular format string problems.

java.util.IllegalFormatException

Figure 16-30. java.util.IllegalFormatException

public class IllegalFormatException extends IllegalArgumentException {
// No Constructor
}

Subclasses

DuplicateFormatFlagsException, FormatFlagsConversionMismatchException, IllegalFormatCodePointException, IllegalFormatConversionException, IllegalFormatFlagsException, IllegalFormatPrecisionException, IllegalFormatWidthException, MissingFormatArgumentException, MissingFormatWidthException, UnknownFormatConversionException, UnknownFormatFlagsException

Get Java in a Nutshell, 5th Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.