- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- java.lang.IllegalArgumentException
-
- java.util.IllegalFormatException
-
- All Implemented Interfaces:
-
Serializable
- 已知直接子类:
-
DuplicateFormatFlagsException
,FormatFlagsConversionMismatchException
,IllegalFormatCodePointException
,IllegalFormatConversionException
,IllegalFormatFlagsException
,IllegalFormatPrecisionException
,IllegalFormatWidthException
,MissingFormatArgumentException
,MissingFormatWidthException
,UnknownFormatConversionException
,UnknownFormatFlagsException
public class IllegalFormatException extends IllegalArgumentException
当格式字符串包含与给定参数不兼容的非法语法或格式说明符时抛出未检查的异常。 应该实例化仅对应于特定错误的异常的显式子类型。- 从以下版本开始:
- 1.5
- 另请参见:
- Serialized Form
-
-
方法摘要
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-