An IllegalFormatException of this type is thrown by a Formatter when a format( ) or printf( ) method does not have enough arguments to match the number conversion specifiers in the format string. Figure 16-43. java.util.MissingFormatArgumentExceptionpublic class MissingFormatArgumentException extends IllegalFormatException { // Public Constructors public MissingFormatArgumentException (String s ); // Public Instance Methods public String getFormatSpecifier ( ); // Public Methods Overriding Throwable public String getMessage ( ); } |