java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.lang.IllegalArgumentException
java.util.IllegalFormatException
- 所有已实现的接口:
Serializable
- 已知子类:
DuplicateFormatFlagsException,FormatFlagsConversionMismatchException,IllegalFormatCodePointException,IllegalFormatConversionException,IllegalFormatFlagsException,IllegalFormatPrecisionException,IllegalFormatWidthException,MissingFormatArgumentException,MissingFormatWidthException,UnknownFormatConversionException,UnknownFormatFlagsException
public sealed class IllegalFormatException extends IllegalArgumentException permits DuplicateFormatFlagsException , FormatFlagsConversionMismatchException , IllegalFormatCodePointException , IllegalFormatConversionException , IllegalFormatFlagsException , IllegalFormatPrecisionException , IllegalFormatWidthException , MissingFormatArgumentException , MissingFormatWidthException , UnknownFormatConversionException , UnknownFormatFlagsException (not exhaustive)
当格式字符串包含非法语法或与给定参数不兼容的格式说明符时抛出未经检查的异常。仅应实例化与特定错误相对应的此异常的显式子类型。
- 自从:
- 1.5
- 参见:
-
方法总结
在类 java.lang.Throwable 中声明的方法
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString