java.util

Class IllegalFormatException

public class IllegalFormatException extends IllegalArgumentException

A general exception thrown when a format string is supplied to a {@link Formatter} that contains either invalid syntax or a mismatch between the format specification and the supplied arguments. This class is never instantiated; instead one of its subclasses is used to throw a more specific exception.

Since: 1.5