public class java.util
DuplicateFormatFlagsException


Hide details Login
Java SE 6
  
Extends: Throwable > Exception > RuntimeException > IllegalArgumentException > IllegalFormatException

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.
version1.3, 11/17/05
since1.5


Constructors
public DuplicateFormatFlagsException(String f)
Constructs an instance of this class with the specified flags.
fThe set of format flags which contain a duplicate flag.

Properties
public String getFlags()
Returns the set of flags which contains a duplicate flag.
returnThe flags
public String getMessage()