Module java.base
Package java.util

Class IllegalFormatException

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
DuplicateFormatFlagsException, FormatFlagsConversionMismatchException, IllegalFormatCodePointException, IllegalFormatConversionException, IllegalFormatFlagsException, IllegalFormatPrecisionException, IllegalFormatWidthException, MissingFormatArgumentException, MissingFormatWidthException, UnknownFormatConversionException, UnknownFormatFlagsException

public class IllegalFormatException extends IllegalArgumentException
Unchecked exception thrown when a format string contains an illegal syntax or a format specifier that is incompatible with the given arguments. Only explicit subtypes of this exception which correspond to specific errors should be instantiated.
Since:
1.5
See Also:
Serialized Form