public class DuplicateFormatFlagsException extends IllegalFormatException
Formatter#format()
method of a Formatter contain duplicates.| Constructor and Description |
|---|
DuplicateFormatFlagsException(String flags)
Constructs a new
DuplicateFormatFlagsException
which specifies that the supplied set of flags contains a
duplicate. |
| Modifier and Type | Method and Description |
|---|---|
String |
getFlags()
Returns the flags which contain a duplicate.
|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic DuplicateFormatFlagsException(String flags)
DuplicateFormatFlagsException
which specifies that the supplied set of flags contains a
duplicate.flags - the flags containing a duplicate.NullPointerException - if flags is null.