An IllegalFormatException of this type is thrown by a Formatter when the format string contains duplicate format flags for the same conversion specifier . Figure 16-14. java.util.DuplicateFormatFlagsExceptionpublic class DuplicateFormatFlagsException extends IllegalFormatException { // Public Constructors public DuplicateFormatFlagsException (String f ); // Public Instance Methods public String getFlags ( ); // Public Methods Overriding Throwable public String getMessage ( ); } |