Name

MissingFormatArgumentException

Synopsis

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.

java.util.MissingFormatArgumentException

Figure 16-43. java.util.MissingFormatArgumentException

public class MissingFormatArgumentException extends IllegalFormatException {
// Public Constructors
     public MissingFormatArgumentException(String s);  
// Public Instance Methods
     public String getFormatSpecifier( );  
// Public Methods Overriding Throwable
     public String getMessage( );  
}

Get Java in a Nutshell, 5th Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.