Name

DuplicateFormatFlagsException

Synopsis

An IllegalFormatException of this type is thrown by a Formatter when the format string contains duplicate format flags for the same conversion specifier.

java.util.DuplicateFormatFlagsException

Figure 16-14. java.util.DuplicateFormatFlagsException

public class DuplicateFormatFlagsException extends IllegalFormatException {
// Public Constructors
     public DuplicateFormatFlagsException(String f);  
// Public Instance Methods
     public String getFlags( );  
// 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.