Exception: java.util.DuplicateFormatFlagsException
- public exception DuplicateFormatFlagsException
- extends 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.
Inheritance
Superclass tree:- java.lang.Object
- java.lang.Throwable
- java.lang.Exception
- java.lang.RuntimeException
- java.lang.IllegalArgumentException
- java.util.IllegalFormatException
- java.util.DuplicateFormatFlagsException
Methods
-
DuplicateFormatFlagsExceptiontop
public DuplicateFormatFlagsException(String f)Constructs an instance of this class with the specified flags. -
getFlagstop
public String getFlags()Returns the set of flags which contains a duplicate flag. -
getMessagetop
public String getMessage()Returns the detail message string of this throwable.- Override hierarchy:
- getMessage from Throwable
