Java in a Nutshell, 5th Edition [Electronic resources]

نسخه متنی -صفحه : 1191/ 735
نمايش فراداده

MissingFormatArgumentExceptionjava.util

Java 5.0serializable unchecked

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.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 ( ); }