An IllegalFormatException of this type is thrown by a Formatter when the type of the format( ) or printf( ) argument does not match the type required by the corresponding conversion specifier in the format string. Figure 16-29. java.util.IllegalFormatConversionExceptionpublic class IllegalFormatConversionException extends IllegalFormatException { // Public Constructors public IllegalFormatConversionException (char c , Class<?> arg ); // Public Instance Methods public Class<?> getArgumentClass ( ); public char getConversion ( ); // Public Methods Overriding Throwable public String getMessage ( ); } |