Exception: java.util.DuplicateFormatFlagsException

Unchecked exception thrown when duplicate flags are provided in the format specifier.

Unless otherwise specified, passing a null argument to any method or constructor in this class will cause a NullPointerException to be thrown.

Version:
@version 1.2, 12/19/03
Since:
@since 1.5

Methods

  • DuplicateFormatFlagsExceptiontop

    public DuplicateFormatFlagsException(String f)
    Constructs an instance of this class with the specified flags.
    Parameters:
    @param f The set of format flags which contain a duplicate flag.
    Google Code Search
    Stack Overflow
  • getFlagstop

    public String getFlags()
    Returns the set of flags which contains a duplicate flag.
    Return:
    @return The flags
    Google Code Search
    Stack Overflow
  • getMessagetop

    public String getMessage()
    Returns the detail message string of this throwable.
    Return:
    @return the detail message string of this Throwable instance (which may be null).
    Override hierarchy:
    getMessage from Throwable
    Google Code Search
    Stack Overflow