public class DuplicateFormatFlagsException extends IllegalFormatException
RuntimeException,
Serialized Form| Constructor and Description |
|---|
DuplicateFormatFlagsException(String f)
Constructs a new
DuplicateFormatFlagsException with the flags
containing duplicates. |
| Modifier and Type | Method and Description |
|---|---|
String |
getFlags()
Returns the format flags that contain a duplicate flag.
|
String |
getMessage()
Returns the detail message which was provided when this
Throwable was created. |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic DuplicateFormatFlagsException(String f)
DuplicateFormatFlagsException with the flags
containing duplicates.f - the format flags that contain a duplicate flag.public String getFlags()
public String getMessage()
ThrowableThrowable was created. Returns null if no message was
provided at creation time.getMessage in class Throwable