Uses of Class
java.util.IllegalFormatException
| Package | Description |
|---|---|
| java.util |
-
Uses of IllegalFormatException in java.util
Subclasses of IllegalFormatException in java.util Modifier and Type Class Description classDuplicateFormatFlagsExceptionThe unchecked exception will be thrown out if there are duplicate flags given out in the format specifier.classFormatFlagsConversionMismatchExceptionAFormatFlagsConversionMismatchExceptionwill be thrown if a conversion and the flags are incompatible.classIllegalFormatCodePointExceptionAnIllegalFormatCodePointExceptionwill be thrown if an invalid Unicode code point (defined byCharacter.isValidCodePoint(int)) is passed as a parameter to a Formatter.classIllegalFormatConversionExceptionAnIllegalFormatConversionExceptionwill be thrown when the parameter is incompatible with the corresponding format specifier.classIllegalFormatFlagsExceptionAnIllegalFormatFlagsExceptionwill be thrown if the combination of the format flags is illegal.classIllegalFormatPrecisionExceptionAnIllegalFormatPrecisionExceptionwill be thrown if the precision is a negative other than -1 or in other cases where precision is not supported.classIllegalFormatWidthExceptionAnIllegalFormatWidthExceptionwill be thrown if the width is a negative value other than -1 or in other cases where a width is not supported.classMissingFormatArgumentExceptionAMissingFormatArgumentExceptionwill be thrown if there is no corresponding argument with the specified conversion or an argument index that refers to a missing argument.classMissingFormatWidthExceptionAMissingFormatWidthExceptionwill be thrown if the format width is missing but is required.classUnknownFormatConversionExceptionAnUnknownFormatConversionExceptionwill be thrown if the format conversion is unknown.classUnknownFormatFlagsExceptionAnUnknownFormatFlagsExceptionwill be thrown if there is an unknown flag.Methods in java.util that throw IllegalFormatException Modifier and Type Method Description voidFormattable. formatTo(Formatter formatter, int flags, int width, int precision)Formats the object using the specifiedFormatter.