public class DuplicateFormatFlagsException extends IllegalFormatException
Formatter#format()
method of a Formatter contain duplicates.| Constructor and Description |
|---|
DuplicateFormatFlagsException(java.lang.String flags)
Constructs a new
DuplicateFormatFlagsException
which specifies that the supplied set of flags contains a
duplicate. |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getFlags()
Returns the flags which contain a duplicate.
|
public DuplicateFormatFlagsException(java.lang.String flags)
DuplicateFormatFlagsException
which specifies that the supplied set of flags contains a
duplicate.flags - the flags containing a duplicate.java.lang.NullPointerException - if flags is null.public java.lang.String getFlags()