public class IllegalFormatFlagsException extends IllegalFormatException implements Serializable
IllegalFormatFlagsException will be thrown if the combination of
the format flags is illegal.RuntimeException,
Serialized Form| Constructor and Description |
|---|
IllegalFormatFlagsException(String flags)
Constructs a new
IllegalFormatFlagsException with the specified
flags. |
| Modifier and Type | Method and Description |
|---|---|
String |
getFlags()
Returns the flags that are illegal.
|
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 IllegalFormatFlagsException(String flags)
IllegalFormatFlagsException with the specified
flags.flags - the specified flags.public String getFlags()
public String getMessage()
ThrowableThrowable was created. Returns null if no message was
provided at creation time.getMessage in class Throwable