Class IllegalFormatException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.lang.IllegalArgumentException
java.util.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:
Method Summary
Methods declared in class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
© 1993, 2021, Oracle and/or its affiliates. All rights reserved.
Documentation extracted from Debian's OpenJDK Development Kit package.
Licensed under the GNU General Public License, version 2, with the Classpath Exception.
Various third party code in OpenJDK is licensed under different licenses (see Debian package).
Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/IllegalFormatException.html